PHP Multiple Vulnerabilities
Secunia Advisory: SA19927
Release Date: 2006-05-04
Last Update: 2006-08-07
Popularity: 12,902 views

Critical:
Moderately critical
Impact: Unknown
Security Bypass
Where: From remote
Solution Status: Vendor Patch

Software:PHP 5.1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3016
CVE-2006-3017
CVE-2006-3018


Description:
Multiple vulnerabilities have been reported in PHP, where some have unknown impacts and another can be exploited by malicious people to bypass certain security restrictions.

1) An offset/length parameter validation error exists in the "substr_compare()" function.

2) An unspecified error exists in the handling of certain characters in session names.

3) An unspecified error in the session extension can be exploited to cause a heap corruption.

4) An error in the "zend_hash_del_key_or_index()" function when deleting elements can e.g. be exploited to cause the "unset()" function to not unset variables properly by defining a parameter where the name is the hash value of the variable.

Successful exploitation may open up for vulnerabilities in various applications, but may require that "register_globals" is enabled depending on the application being targeted.

Many other issues, where some may be security related, have also been reported.

Solution:
Update to version 5.1.4.
http://www.php.net/downloads.php

Provided and/or discovered by:
Reported by the vendor.

4) Stefan Esser, Hardened-PHP Project

Changelog:
2006-05-05: Vendor issues version 5.1.4 due to major bugs in version 5.1.3. Updated "Solution" section.
2006-06-20: Added CVE references.
2006-08-07: Added additional information provided by Stefan Esser.

Original Advisory:
PHP Group:
http://www.php.net/release_5_1_3.php
http://www.php.net/release_5_1_4.php

Hardened-PHP Project:
http://www.hardened-php.net/hphp/zend_hash_del_key_or_index_vulnerability.html


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 Office Two Code Execution Vulnerabilities // 19 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 15 views
3. Drupal Content Construction Kit Script Insertion Vulnerabilities // 14 views
4. phpBB "gen_rand_string()" Predictable RNG Weakness // 14 views
5. phpBB Multiple Vulnerabilities // 13 views
6. phpBB reveals user IPs // 10 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 10 views
8. Apple QuickTime Multiple Vulnerabilities // 10 views
9. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 10 views
10. phpBB "url" bbcode Script Insertion Vulnerability // 9 views