diff options
Diffstat (limited to 'metadata/glsa/glsa-200410-04.xml')
-rw-r--r-- | metadata/glsa/glsa-200410-04.xml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-200410-04.xml b/metadata/glsa/glsa-200410-04.xml new file mode 100644 index 000000000000..1df42a038714 --- /dev/null +++ b/metadata/glsa/glsa-200410-04.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> +<glsa id="200410-04"> + <title>PHP: Memory disclosure and arbitrary location file upload</title> + <synopsis> + Two bugs in PHP may allow the disclosure of portions of memory and allow + remote attackers to upload files to arbitrary locations. + </synopsis> + <product type="ebuild">PHP</product> + <announced>2004-10-06</announced> + <revised count="01">2004-10-06</revised> + <bug>64223</bug> + <access>remote</access> + <affected> + <package name="dev-php/php" auto="yes" arch="*"> + <unaffected range="ge">4.3.9 </unaffected> + <vulnerable range="lt">4.3.9</vulnerable> + </package> + <package name="dev-php/mod_php" auto="yes" arch="*"> + <unaffected range="ge">4.3.9</unaffected> + <vulnerable range="lt">4.3.9</vulnerable> + </package> + <package name="dev-php/php-cgi" auto="yes" arch="*"> + <unaffected range="ge">4.3.9</unaffected> + <vulnerable range="lt">4.3.9</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> + Stefano Di Paola discovered two bugs in PHP. The first is a parse error in + php_variables.c that could allow a remote attacker to view the contents of + the target machine's memory. Additionally, an array processing error in the + SAPI_POST_HANDLER_FUNC() function inside rfc1867.c could lead to the + $_FILES array being overwritten. + </p> + </description> + <impact type="normal"> + <p> + A remote attacker could exploit the first vulnerability to view memory + contents. On a server with a script that provides file uploads, an attacker + could exploit the second vulnerability to upload files to an arbitrary + location. On systems where the HTTP server is allowed to write in a + HTTP-accessible location, this could lead to remote execution of arbitrary + commands with the rights of the HTTP server. + </p> + </impact> + <workaround> + <p> + There is no known workaround at this time. + </p> + </workaround> + <resolution> + <p> + All PHP, mod_php and php-cgi users should upgrade to the latest stable + version: + </p> + <code> + # emerge sync + + # emerge -pv ">=dev-php/php-4.3.9" + # emerge ">=dev-php/php-4.3.9" + + # emerge -pv ">=dev-php/mod_php-4.3.9" + # emerge ">=dev-php/mod_php-4.3.9" + + # emerge -pv ">=dev-php/php-cgi-4.3.9" + # emerge ">=dev-php/php-cgi-4.3.9"</code> + </resolution> + <references> + <uri link="https://secunia.com/advisories/12560/">Secunia Advisory</uri> + <uri link="http://www.securityfocus.com/archive/1/375294">BugTraq post regarding the php_variables.c issue</uri> + <uri link="http://www.securityfocus.com/archive/1/375370">BugTraq post regarding the rfc1867.c issue</uri> + </references> + <metadata tag="requester" timestamp="2004-09-29T20:40:17Z"> + dmargoli + </metadata> + <metadata tag="bugReady" timestamp="2004-09-30T20:25:12Z"> + koon + </metadata> + <metadata tag="submitter" timestamp="2004-10-03T18:04:56Z"> + dmargoli + </metadata> +</glsa> |