Red Hat Bugzilla – Bug 152802
CAN-2004-0958,0959 - PHP: Memory disclosure and arbitrary location file upload
Last modified: 2008-05-01 11:38:06 EDT
Two bugs in PHP may allow the disclosure of portions of memory and
allow remote attackers to upload files to arbitrary locations.
Bad array parsing in the rfc1867.c file could lead to the overwriting
of the $_FILES array, which in turn could allow an attacker to write
arbitrary files with the permission of the user running apache.
Bad array parsing in php_variables.c could lead to show arbitrary memory
content such as pieces of php code and other data.
This affects all GET, POST or COOKIES variables.
------- Additional Comments From email@example.com 2004-10-08 09:35:03 ----
After going over the source for redhat 7.3 (php 4.1.2) I don't believe it is
vulnerable to either of these issues.
In the case of the rfc1867.c patch, the start of it is over 400 lines beyond
the 4.1.2 file EOF.
The variables.c file shows no remote relation to the patched code.
------- Additional Comments From firstname.lastname@example.org 2004-10-09 05:07:08 ----
Confirmed, rh73 is not vulnerable.
------- Additional Comments From email@example.com 2004-10-09 05:18:10 ----
rh9 doesn't look affected by this either.
------- Additional Comments From firstname.lastname@example.org 2004-10-09 05:26:50 ----
...and FC1 doesn't seem affected.
I'm closing this bug as it seems our platforms are not affected.
If anyone thinks otherwise, please re-open.
------- Additional Comments From email@example.com 2004-12-15 11:09:37 ----
just to help with later searching, the first vuln is CAN-2004-0958 and the
second is CAN-2004-0959.
marc: can you add this to the summary?
------- Additional Comments From firstname.lastname@example.org 2005-01-08 12:26:30 ----
these vulns apparently DID affect FC1. they have been fixed in bug 2344
------- Additional Comments From email@example.com 2005-01-09 12:45:18 ----
*** This bug has been marked as a duplicate of 2344 ***
------- Bug moved to this database by firstname.lastname@example.org 2005-03-30 18:27 -------
This bug previously known as bug 2141 at https://bugzilla.fedora.us/
Originally filed under the Fedora Legacy product and Package request component.
Unknown priority P2. Setting to default priority "normal".
Unknown platform PC. Setting to default platform "All".
Setting qa contact to the default for this product.
This bug either had no qa contact or an invalid one.