summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-201111-04.xml
blob: 725712c2ba6895ad1d457e00a14025bed3a65961 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201111-04">
  <title>phpDocumentor: Function call injection</title>
  <synopsis>phpDocumentor bundles Smarty which contains an input sanitation
    flaw, allowing attackers to call arbitrary PHP functions. 
  </synopsis>
  <product type="ebuild">PhpDocumentor</product>
  <announced>2011-11-11</announced>
  <revised count="1">2011-11-11</revised>
  <bug>213318</bug>
  <access>remote</access>
  <affected>
    <package name="dev-php/PEAR-PhpDocumentor" auto="yes" arch="*">
      <unaffected range="ge">1.4.3-r1</unaffected>
      <vulnerable range="lt">1.4.3-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>The phpDocumentor package provides automatic documenting of PHP API
      directly from the source.
    </p>
  </background>
  <description>
    <p>phpDocumentor bundles Smarty with the modifier.regex_replace.php plug-in
      which does not properly sanitize input related to the ASCII NUL character
      in a search string.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could call arbitrary PHP functions via templates.</p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All phpDocumentor users should upgrade to the latest stable version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose
      "&gt;=dev-php/PEAR-PhpDocumentor-1.4.3-r1"
    </code>
    
    <p>NOTE: This is a legacy GLSA. Updates for all affected architectures are
      available since February 12, 2011. It is likely that your system is
      already no longer affected by this issue.
    </p>
  </resolution>
  <references>
    <uri link="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-1066">
      CVE-2008-1066
    </uri>
  </references>
  <metadata timestamp="2011-10-07T23:37:01Z" tag="requester">
    underling
  </metadata>
  <metadata timestamp="2011-11-11T22:11:04Z" tag="submitter">ackle</metadata>
</glsa>