summaryrefslogtreecommitdiff
blob: 38d9cd309be15c9a62445221576d9d2f310b9530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200507-15">
  <title>PHP: Script injection through XML-RPC</title>
  <synopsis>
    PHP includes an XML-RPC implementation which allows remote attackers to
    execute arbitrary PHP script commands.
  </synopsis>
  <product type="ebuild">PHP</product>
  <announced>July 15, 2005</announced>
  <revised>July 15, 2005: 01</revised>
  <bug>97655</bug>
  <access>remote</access>
  <affected>
    <package name="dev-php/php" auto="yes" arch="*">
      <unaffected range="ge">4.4.0</unaffected>
      <vulnerable range="lt">4.4.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PHP is a general-purpose scripting language widely used to develop
    web-based applications. It can run inside a web server using the
    mod_php module or the CGI version of PHP, or can run stand-alone in a
    CLI.
    </p>
  </background>
  <description>
    <p>
    James Bercegay has discovered that the XML-RPC implementation in
    PHP fails to sanitize input passed in an XML document, which is used in
    an "eval()" statement.
    </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 applications making use of this XML-RPC implementation.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PHP users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=dev-php/php-4.4.0&quot;</code>
  </resolution>
  <references>
    <uri link="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1921">CAN-2005-1921</uri>
  </references>
  <metadata tag="requester" timestamp="Tue, 12 Jul 2005 20:30:47 +0000">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="Tue, 12 Jul 2005 22:51:12 +0000">
    formula7
  </metadata>
  <metadata tag="bugReady" timestamp="Fri, 15 Jul 2005 13:35:35 +0000">
    koon
  </metadata>
</glsa>