Secunia Logo  


Secunia PSI WorldMap
 
PHP4 ZVAL Reference Counter Overflow and Cross-Site Scripting
Secunia Advisory: SA24356
Release Date: 2007-03-05
Last Update: 2007-05-04
Popularity: 9,488 views

Critical:
Less critical
Impact: Security Bypass
Cross Site Scripting
Where: Local system
Solution Status: Partial Fix

Software:PHP 4.4.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:
Stefan Esser has discovered some vulnerabilities in PHP4, which can be exploited by malicious, local users to bypass certain security restrictions, and by malicious people to conduct cross-site scripting attacks.

1) The vulnerability is caused due to an integer overflow in the handling of ZVAL structures. This can be exploited to corrupt memory and execute arbitrary code therefore bypassing security restrictions like the "disable_functions" directive.

The vulnerability is confirmed in version 4.4.6. Other versions may also be affected.

2) Input passed via array parameters is not properly sanitised before being returned to the user within a "phpinfo()" call. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site via a script calling "phpinfo()".

This is related to:
SA17371 (vulnerability #3)
SA19599 (vulnerability #1)

The vulnerability is confirmed in version 4.4.6 and also reported in versions 4.4.3 through 4.4.6. 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. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 69 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 35 views
3. Adobe Reader/Acrobat Multiple Vulnerabilities // 29 views
4. Adobe Flash Player Multiple Vulnerabilities // 26 views
5. Huawei D100 Information Disclosure and Undocumented Telnet Account // 23 views
6. Microsoft PowerPoint OutlineTextRefAtom Parsing Vulnerability // 23 views
7. Mozilla Firefox Multiple Vulnerabilities // 18 views
8. RealPlayer Unspecified Buffer Overflow Vulnerability // 16 views
9. Microsoft Word Malformed Object Pointer Vulnerability // 14 views
10. Microsoft Office Word Two Vulnerabilities // 13 views