CVE-2006-2065 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands and potentially PHP code via the surveyid cookie in PHPSurveyor.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2006-2065?
CVE-2006-2065 is a high-severity SQL injection vulnerability in n/a, published on 27 Apr 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2006-2065?
It affects 1 product.
Products include Phpsurveyor Phpsurveyor.
How do I fix CVE-2006-2065?
No fix has been published for CVE-2006-2065 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2006-2065 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-2065 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-m79g-h2ww-gqhg.