<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200507-08">
  <title>phpGroupWare, eGroupWare: PHP script injection vulnerability</title>
  <synopsis>
    phpGroupWare and eGroupWare include an XML-RPC implementation which allows
    remote attackers to execute arbitrary PHP script commands.
  </synopsis>
  <product type="ebuild">phpgroupware egroupware</product>
  <announced>2005-07-10</announced>
  <revised count="01">2005-07-10</revised>
  <bug>97460</bug>
  <bug>97651</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/phpgroupware" auto="yes" arch="*">
      <unaffected range="ge">0.9.16.006</unaffected>
      <vulnerable range="lt">0.9.16.006</vulnerable>
    </package>
    <package name="www-apps/egroupware" auto="yes" arch="*">
      <unaffected range="ge">1.0.0.008</unaffected>
      <vulnerable range="lt">1.0.0.008</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    phpGroupWare and eGroupWare are web based collaboration software
    suites.
    </p>
  </background>
  <description>
    <p>
    The XML-RPC implementations of phpGroupWare and eGroupWare fail to
    sanitize input sent to the XML-RPC server using the "POST" method.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could exploit the XML-RPC vulnerability to
    execute arbitrary PHP script code by sending specially crafted XML data
    to the XML-RPC servers of phpGroupWare or eGroupWare.
    </p>
  </impact>
  <workaround>
    <p>
    There are no known workarounds at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All phpGroupWare users should upgrade to the latest available
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-app/phpgroupware-0.9.16.006"</code>
    <p>
    All eGroupWare users should upgrade to the latest available
    version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-app/egroupware-1.0.0.008"</code>
  </resolution>
  <references>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1921">CAN-2005-1921</uri>
  </references>
  <metadata tag="requester" timestamp="2005-07-06T12:50:50Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-07-06T15:06:09Z">
    DerCorny
  </metadata>
  <metadata tag="bugReady" timestamp="2005-07-10T19:07:48Z">
    DerCorny
  </metadata>
</glsa>
