{"id":"CVE-2006-2065","aliases":["EUVD-2006-2066","GHSA-m79g-h2ww-gqhg"],"status":"published","title":"SQL injection vulnerability in save.php in PHPSurveyor 0.995 and earlier allows remote attackers...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01748,"percentile":0.77976,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2006-04-27T10:00:00Z","modified":"2026-06-16T22:24:16Z","exploits":[{"source":"exploitdb","id":"EDB-1701","title":"PHPSurveyor 0.995 - 'surveyid' Remote Command Execution","type":"webapps","platform":"php","date":"2006-04-20","verified":true,"url":"https://www.exploit-db.com/exploits/1701"}],"products":[{"vendor":"phpsurveyor","product":"phpsurveyor"}],"references":[{"url":"http://www.securityfocus.com/bid/17633","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/431508/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/19761","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory"]},{"url":"http://securitytracker.com/id?1015970","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/25970","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://retrogod.altervista.org/phpsurveyor_0995_xpl.html","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"http://www.osvdb.org/24787","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/1451","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-2065"},{"url":"https://github.com/advisories/GHSA-m79g-h2ww-gqhg"}],"sources":{"cve":[{"id":"CVE-2006-2065","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.","status":"published","published":"2006-04-27T10:00:00Z","modified":"2024-08-07T17:35:31.13Z","updated_at":"2026-11-02T14:33:48.871799Z"}],"euvd":[{"id":"EUVD-2006-2066","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.","status":"published","published":"2006-04-27T10:00:00Z","modified":"2024-08-07T17:35:31Z","updated_at":"2026-11-03T01:16:02.253765Z"}],"ghsa":[{"id":"GHSA-m79g-h2ww-gqhg","title":"SQL injection vulnerability in save.php in PHPSurveyor 0.995 and earlier allows remote attackers...","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.","status":"published","published":"2022-05-01T06:55:22Z","modified":"2023-01-31T05:01:14Z","updated_at":"2026-11-02T14:48:00.982937Z"}],"nvd":[{"id":"CVE-2006-2065","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.","status":"published","published":"2006-04-27T13:34:00Z","modified":"2026-06-16T22:24:16.497Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:02.433957Z"}]}}
