CVE-2006-1012 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the User-Agent header in WordPress comments, potentially compromising database integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-1012?
CVE-2006-1012 is a high-severity SQL injection vulnerability in Wordpress Wordpress, published on 6 Mar 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in WordPress 1.5.2, and possibly other versions before 2.0, allows remote attackers to execute arbitrary SQL commands via the User-Agent field in an HTTP header for a comment.
Which versions are affected by CVE-2006-1012?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2006-1012?
Upgrade to a fixed version.
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-1012 being exploited?
There is no known exploitation of CVE-2006-1012 in the wild and no public exploit code.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2006-1012, GHSA-4j36-wmcj-5q44.