PHPSurveyor Input Validation Hole Permits SQL Injection and Lets Remote Users Include and Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1015970 |
|
SecurityTracker URL: http://securitytracker.com/id?1015970
|
|
CVE Reference:
CVE-2006-2065
(Links to External Site)
|
Updated: Dec 14 2009
|
Original Entry Date: Apr 20 2006
|
Impact:
Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 0.995 and prior versions
|
Description:
rgod reported a vulnerability in PHPSurveyor. A remote user can inject SQL commands. A remote user can exploit this to include and execute arbitrary code on the target system.
The 'save.php' script does not properly validate user-supplied input in the 'surveyid' cookie parameter. A remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.
A remote user can cause the system to write arbitrary PHP code to a file on the target system (such as a web server log file) and then send a specially crafted request to alter the thissurvey['language'] parameter and cause the target system to include and execute the arbitrary PHP code from the file on the target system. The PHP code, including operating system commands, will run with the privileges of the target web service.
The original advisory is available at:
http://retrogod.altervista.org/phpsurveyor_0995_xpl.html
|
Impact:
A remote user can execute SQL commands on the underlying database.
A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
|
Solution:
No solution was available at the time of this entry.
|
Vendor URL: www.phpsurveyor.org/ (Links to External Site)
|
Cause:
Input validation error, State error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Thu, 20 Apr 2006 14:49:07 +0200
Subject: PHPSurveyor <= 0.995 'save.php/surveyid' remote cmmnds xctn
|
http://retrogod.altervista.org/phpsurveyor_0995_xpl.html
rgod
|
|