Gentoo: WordPress Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo WordPress is vulnerable to SQL injection, information disclosure, and cross-site scripting attacks.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200701-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: WordPress: Multiple vulnerabilities
      Date: January 15, 2007
      Bugs: #159229
        ID: 200701-10

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

Synopsis
========

WordPress is vulnerable to SQL injection, information disclosure, and
cross-site scripting attacks.

Background
==========

WordPress is a popular personal publishing platform with a web
interface.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  www-apps/wordpress       < 2.0.6                         >= 2.0.6

Description
===========

When decoding trackbacks with alternate character sets, WordPress does
not correctly sanitize the entries before further modifying a SQL
query. WordPress also displays different error messages in wp-login.php
based upon whether or not a user exists. David Kierznowski has
discovered that WordPress fails to properly sanitize recent file
information in /wp-admin/templates.php before sending that information
to a browser.

Impact
======

An attacker could inject arbitrary SQL into WordPress database queries.
An attacker could also determine if a WordPress user existed by trying
to login as that user, better facilitating brute force attacks. Lastly,
an attacker authenticated to view the administrative section of a
WordPress instance could try to edit a file with a malicious filename;
this may cause arbitrary HTML or JavaScript to be executed in users'
browsers viewing /wp-admin/templates.php.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All WordPress users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-apps/wordpress-2.0.6"

References
==========

  [ 1 ] CVE-2006-6808
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6808
  [ 2 ] CVE-2007-0107
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0107
  [ 3 ] CVE-2007-0109
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0109

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200701-10.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5