Secunia Logo  


Secunia PSI WorldMap
 
PHP Memory Leak and Arbitrary File Location Upload Vulnerabilities
Secunia Advisory: SA12560
Release Date: 2004-09-18
Last Update: 2004-10-25
Popularity: 22,117 views

Critical:
Moderately critical
Impact: Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.2.x
PHP 4.3.x
PHP 5.0.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
Two vulnerabilities have been reported in PHP, which can be exploited by malicious people to disclose sensitive information or potentially upload files to arbitrary locations.

1) A parsing error in the handling of GET, POST and COOKIE (GPC) variables in "php_variables.c" can be exploited by supplying a specially crafted parameter name ending with an open bracket to disclose memory.

2) The "$_FILES" array specifies locations for uploaded files. The problem is that the array can be overwritten by a specially crafted header. This can potentially be exploited to upload files to arbitrary locations.

Successful exploitation requires a PHP script, which uses the "$_FILES" array for e.g. moving uploaded files.

The vulnerabilities have been reported in version 5.0.1. Other versions may also be affected.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft DirectShow Streaming Video ActiveX Control Buffer Overflow // 85 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 67 views
3. Adobe Flash Player Multiple Vulnerabilities // 51 views
4. Apple Safari Two WebKit Component Vulnerabilities // 37 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 31 views
6. IBM AIX "syscall" Buffer Overflow Vulnerability // 25 views
7. Internet Explorer 7 Window Injection Vulnerability // 21 views
8. SimpleBoard "sb_authorname" Script Insertion Vulnerability // 19 views
9. Adobe Reader/Acrobat Multiple Vulnerabilities // 16 views
10. Microsoft Internet Explorer Multiple Vulnerabilities // 15 views