GLSA-200603-01 : WordPress: SQL injection vulnerability

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200603-01
(WordPress: SQL injection vulnerability)

Patrik Karlsson reported that WordPress 1.5.2 makes use of an
insufficiently filtered User Agent string in SQL queries related to
comments posting. This vulnerability was already fixed in the
2.0-series of WordPress.

Impact :

An attacker could send a comment with a malicious User Agent
parameter, resulting in SQL injection and potentially in the subversion
of the WordPress database. This vulnerability wouldn't affect WordPress
sites which do not allow comments or which require that comments go
through a moderator.

Workaround :

Disable or moderate comments on your WordPress blogs.

See also :

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

Solution :

All WordPress users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-apps/wordpress-2.0.1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20999 (gentoo_GLSA-200603-01.nasl)

Bugtraq ID:

CVE ID: CVE-2006-1012