<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200508-21">
  <title>phpWebSite: Arbitrary command execution through XML-RPC and SQL injection</title>
  <synopsis>
    phpWebSite is vulnerable to multiple issues which result in the execution
    of arbitrary code and SQL injection.
  </synopsis>
  <product type="ebuild">phpwebsite</product>
  <announced>2005-08-31</announced>
  <revised count="01">2005-08-31</revised>
  <bug>102785</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/phpwebsite" auto="yes" arch="*">
      <unaffected range="ge">0.10.2_rc2</unaffected>
      <vulnerable range="lt">0.10.2_rc2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    phpWebSite is a web site content management system.
    </p>
  </background>
  <description>
    <p>
    phpWebSite uses an XML-RPC library that improperly handles XML-RPC
    requests and responses with malformed nested tags. Furthermore,
    "matrix_killer" reported that phpWebSite is vulnerable to an SQL
    injection attack.
    </p>
  </description>
  <impact type="high">
    <p>
    A malicious remote user could exploit this vulnerability to inject
    arbitrary PHP script code into eval() statements by sending a specially
    crafted XML document, and also inject SQL commands to access the
    underlying database directly.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All phpWebSite users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-apps/phpwebsite-0.10.2_rc2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2498">CAN-2005-2498</uri>
    <uri link="http://archives.neohapsis.com/archives/fulldisclosure/2005-08/0497.html">Original Advisory</uri>
  </references>
  <metadata tag="requester" timestamp="2005-08-25T18:35:22Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-08-29T11:14:08Z">
    adir
  </metadata>
  <metadata tag="bugReady" timestamp="2005-08-31T02:40:59Z">
    DerCorny
  </metadata>
</glsa>
