<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-04">
  <title>Wordpress: Multiple vulnerabilities</title>
  <synopsis>
    Wordpress contains SQL injection and XSS vulnerabilities.
  </synopsis>
  <product type="ebuild">Wordpress</product>
  <announced>2005-06-06</announced>
  <revised count="02">2006-05-22</revised>
  <bug>88926</bug>
  <bug>94512</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/wordpress" auto="yes" arch="*">
      <unaffected range="ge">1.5.1.2</unaffected>
      <vulnerable range="lt">1.5.1.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    WordPress is a PHP and MySQL based content management and publishing
    system.
    </p>
  </background>
  <description>
    <p>
    Due to a lack of input validation, WordPress is vulnerable to SQL
    injection and XSS attacks.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could use the SQL injection vulnerabilities to gain
    information from the database. Furthermore the cross-site scripting
    issues give an attacker the ability to inject and execute malicious
    script code or to steal cookie-based authentication credentials,
    potentially compromising the victim's browser.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Wordpress users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-apps/wordpress-1.5.1.2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1102">CVE-2005-1102</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1687">CVE-2005-1687</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1810">CVE-2005-1810</uri>
  </references>
  <metadata tag="requester" timestamp="2005-06-01T07:49:47Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-01T07:49:57Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-06-06T05:09:09Z">
    jaervosz
  </metadata>
</glsa>
