<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200502-33">
  <title>MediaWiki: Multiple vulnerabilities</title>
  <synopsis>
    MediaWiki is vulnerable to cross-site scripting, data manipulation and
    security bypass attacks.
  </synopsis>
  <product type="ebuild">mediawiki</product>
  <announced>2005-02-28</announced>
  <revised count="01">2005-02-28</revised>
  <bug>80729</bug>
  <bug>82954</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/mediawiki" auto="yes" arch="*">
      <unaffected range="ge">1.3.11</unaffected>
      <vulnerable range="lt">1.3.11</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    MediaWiki is a collaborative editing software, used by big
    projects like Wikipedia.
    </p>
  </background>
  <description>
    <p>
    A security audit of the MediaWiki project discovered that
    MediaWiki is vulnerable to several cross-site scripting and cross-site
    request forgery attacks, and that the image deletion code does not
    sufficiently sanitize input parameters.
    </p>
  </description>
  <impact type="low">
    <p>
    By tricking a user to load a carefully crafted URL, a remote
    attacker could hijack sessions and authentication cookies to inject
    malicious script code that will be executed in a user's browser session
    in context of the vulnerable site, or use JavaScript submitted forms to
    perform restricted actions. Using the image deletion flaw, it is also
    possible for authenticated administrators to delete arbitrary files via
    directory traversal.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All MediaWiki users should upgrade to the latest available
    version:
    </p>
    <code>
    # emerge --sync 
    # emerge --ask --oneshot --verbose "&gt;=www-apps/mediawiki-1.3.11"</code>
  </resolution>
  <references>
    <uri link="https://secunia.com/advisories/14125/">Secunia Advisory SA14125</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0534">CAN-2005-0534</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0535">CAN-2005-0535</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0536">CAN-2005-0536</uri>
  </references>
  <metadata tag="requester" timestamp="2005-02-24T11:32:05Z">
    vorlon078
  </metadata>
  <metadata tag="bugReady" timestamp="2005-02-25T09:25:41Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-02-27T16:48:17Z">
    DerCorny
  </metadata>
</glsa>
