CVE Catalog

CVE-2006-1012

High
Published: Translated: NVD NIST

Summary

WordPress 1.5.2 (and possibly earlier versions before 2.0) contains an SQL injection vulnerability in the User-Agent field of the HTTP header when posting a comment. A remote attacker can exploit this to execute arbitrary SQL commands on the database.

Risk Assessment

An attacker can gain unauthorized access to the WordPress database, steal or modify data (e.g., passwords, content), and potentially take control of the server.

Recommendation

Immediately upgrade WordPress to version 2.0 or later, which includes a fix for this vulnerability. If an upgrade is not possible, consider implementing temporary WAF rules to block suspicious User-Agent headers.

Related vulnerabilities

Original NVD description (English source)

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.

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