<?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 ">=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>