TITLE:
Wordpress "User-Agent" Header SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA19109

VERIFY ADVISORY:
http://secunia.com/advisories/19109/

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
Wordpress 1.x
http://secunia.com/product/3978/

DESCRIPTION:
Patrik Karlsson has reported a vulnerability in Wordpress, which can
be exploited by malicious people to conduct SQL injection attacks.

Input passed to the "User-Agent" HTTP header when commenting on an
article isn't properly sanitised before being used in a SQL query.
This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation requires that users are allowed to post
comments without moderation.

The vulnerability has been reported in version 1.5.2. Prior versions
may also be affected.

SOLUTION:
Update to version 2.0 or later.
http://wordpress.org/download/

PROVIDED AND/OR DISCOVERED BY:
Patrik Karlsson

ORIGINAL ADVISORY:
http://www.gentoo.org/security/en/glsa/glsa-200603-01.xml

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------