Timesheet.php is a PHP application designed to keep track of the hours worked by multiple people on multiple projects. It allows users to log in through their web browser and manage the times that they are clocked on or clocked off.
A vulnerability can be found on the file login.php on $_POST['username'] variable. When magic_quotes_gpc is set to Off an intruder can trigger a blind sql injection.
1. Disclosure of administrator username and password hash (MD5, PASSWORD) credentials.
2. Remote code execution in case the intruder knows where to save the output of the sql injection on the local path.
Create addslashes function that will filter the $_POST and $_GET variables.
dwayner79 at users.sourceforge.net
vexil at users.sourceforge.net
Response: No Response
Public disclosure: 09/05/2006
Research By: Secaware Research
Research Site: http://secaware.blogspot.com
Research Mail: secaware2006 at yahoo dot com