CVE Catalog

CVE-2006-2065

High
Published: Translated: NVD NIST

Summary

SQL injection vulnerability in save.php in PHPSurveyor 0.995 and earlier allows remote attackers to execute arbitrary SQL commands via the surveyid cookie. This issue can be leveraged to execute arbitrary PHP code by inserting directory traversal sequences into the database, which are then processed by the thissurvey['language'] variable.

Risk Assessment

An attacker can gain unauthorized access to the database, steal or modify data, and potentially take control of the server by executing arbitrary PHP code.

Recommendation

Immediately upgrade PHPSurveyor to the latest available version that includes a fix for this vulnerability. If an upgrade is not possible, apply temporary mitigations such as input validation and sanitization in the save.php script.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS