<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200406-09">
  <title>Horde-Chora: Remote code execution</title>
  <synopsis>
    A vulnerability in Chora allows remote code execution and file upload.
  </synopsis>
  <product type="ebuild">www-apps/horde-chora</product>
  <announced>2004-06-15</announced>
  <revised count="02">2007-12-30</revised>
  <bug>53800</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/horde-chora" auto="yes" arch="*">
      <unaffected range="ge">1.2.2</unaffected>
      <vulnerable range="lt">1.2.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Chora is a PHP-based SVN/CVS repository viewer by the HORDE project.
    </p>
  </background>
  <description>
    <p>
    A vulnerability in the diff viewer of Chora allows an attacker to inject
    shellcode. An attacker can exploit PHP's file upload functionality to
    upload a malicious binary to a vulnerable server, chmod it as executable,
    and run the file.
    </p>
  </description>
  <impact type="high">
    <p>
    An attacker could remotely execute arbitrary binaries with the permissions
    of the PHP script, conceivably allowing further exploitation of local
    vulnerabilities and remote root access.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All users are advised to upgrade to the latest version of Chora:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=www-apps/horde-chora-1.2.2"
    # emerge "&gt;=www-apps/horde-chora-1.2.2"</code>
  </resolution>
  <references>
    <uri link="http://security.e-matters.de/advisories/102004.html">e-matters Advisory</uri>
  </references>
  <metadata tag="submitter">
    dmargoli
  </metadata>
</glsa>
