summaryrefslogtreecommitdiff
blob: 777b9d1e32e1195fa477aff60d5cc8ee8b2b575f (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200605-08">
  <title>PHP: Multiple vulnerabilities</title>
  <synopsis>
    PHP is affected by multiple issues, including a buffer overflow in
    wordwrap() which may lead to execution of arbitrary code.
  </synopsis>
  <product type="ebuild">php</product>
  <announced>2006-05-08</announced>
  <revised count="09">2007-05-15</revised>
  <bug>127939</bug>
  <bug>128883</bug>
  <bug>131135</bug>
  <bug>133524</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/php" auto="yes" arch="arm hppa ppc s390 sh sparc x86">
      <unaffected range="ge">5.1.4</unaffected>
      <unaffected range="rge">4.4.2-r2</unaffected>
      <unaffected range="rge">4.4.3-r1</unaffected>
      <unaffected range="rge">4.4.4-r4</unaffected>
      <unaffected range="rge">4.4.6</unaffected>
      <unaffected range="ge">4.4.7</unaffected>
      <vulnerable range="lt">5.1.4</vulnerable>
    </package>
    <package name="dev-lang/php" auto="yes" arch="alpha amd64 ia64 ppc64">
      <unaffected range="ge">5.1.4-r4</unaffected>
      <unaffected range="rge">4.4.2-r6</unaffected>
      <unaffected range="rge">4.4.3-r1</unaffected>
      <unaffected range="rge">4.4.4-r4</unaffected>
      <unaffected range="rge">4.4.6</unaffected>
      <unaffected range="ge">4.4.7</unaffected>
      <vulnerable range="lt">5.1.4-r4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PHP is a widely-used general-purpose scripting language that is
    especially suited for Web development and can be embedded into HTML.
    </p>
  </background>
  <description>
    <p>
    Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo,
    Tonu Samuel and Maksymilian Arciemowicz. These included a buffer
    overflow in the wordwrap() function, restriction bypasses in the copy()
    and tempname() functions, a cross-site scripting issue in the phpinfo()
    function, a potential crash in the substr_compare() function and a
    memory leak in the non-binary-safe html_entity_decode() function.
    </p>
  </description>
  <impact type="high">
    <p>
    Remote attackers might be able to exploit these issues in PHP
    applications making use of the affected functions, potentially
    resulting in the execution of arbitrary code, Denial of Service,
    execution of scripted contents in the context of the affected site,
    security bypass or information leak.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this point.
    </p>
  </workaround>
  <resolution>
    <p>
    All PHP users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose dev-lang/php</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0996">CVE-2006-0996</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1490">CVE-2006-1490</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1990">CVE-2006-1990</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1991">CVE-2006-1991</uri>
  </references>
  <metadata tag="requester" timestamp="2006-05-05T20:33:13Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2006-05-06T09:55:35Z">
    fox2mike
  </metadata>
  <metadata tag="bugReady" timestamp="2006-05-08T13:38:05Z">
    koon
  </metadata>
</glsa>