Description
SQL injection vulnerability in save.php in PHPSurveyor 0.995 and earlier allows remote attackers to execute arbitrary SQL commands via the surveyid cookie. NOTE: this issue could be leveraged to execute arbitrary PHP code, as demonstrated by inserting directory traversal sequences into the database, which are then processed by the thissurvey['language'] variable.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PHPSurveyor 0.995 - 'surveyid' Remote Command Execution EDB-1701 · webapps · Apr 20, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 17633 vdb-entry
- 20060420 PHPSurveyor <= 0.995 'save.php/surveyid' remote cmmnds xctn mailing-list
- 19761 third-party-advisory
- 1015970 vdb-entry
- phpsurveyor-surveyid-shell-execution(25970) vdb-entry
- http://retrogod.altervista.org/phpsurveyor_0995_xpl.html
- 24787 vdb-entry
- ADV-2006-1451 vdb-entry