PHP "snmpget()" and "session_decode()" Vulnerabilities
Secunia Advisory: SA24440
Release Date: 2007-03-12
Last Update: 2007-04-02
Popularity: 9,055 views

Critical:
Less critical
Impact: Security Bypass
Where: Local system
Solution Status: Unpatched

Software:PHP 4.4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1413
CVE-2007-1711


Description:
Some vulnerabilities in PHP4 have been reported, which can be exploited by malicious, local users to bypass certain security restrictions.

1) A boundary error in the "snmpget()" function can be exploited to cause a stack-based buffer overflow via an overly long argument.

2) A double free error exists in the deserialisation of session data, which can be exploited via the "session_decode()" function.

Successful exploitation of these vulnerabilities allows execution of arbitrary code, which can lead to security restrictions, such as the "disable_functions" directive, being bypassed.

The vulnerabilities are reported in version 4.4.6. Other versions may also be affected.

Solution:
Grant only trusted users access to affected systems.

Provided and/or discovered by:
1) rgod
2) Stefan Esser

Changelog:
2007-03-14: Added CVE reference.
2007-03-26: Added vulnerability #2.
2007-04-02: Added CVE reference.

Original Advisory:
1) http://milw0rm.com/exploits/3439
2) http://www.php-security.org/MOPB/MOPB-32-2007.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. Zeroboard Multiple Vulnerabilities // 39 views
2. Subdreamer Light Global Variables SQL Injection Vulnerability // 34 views
3. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 30 views
4. Microsoft Office Two Code Execution Vulnerabilities // 23 views
5. WMNews Cross-Site Scripting Vulnerabilities // 22 views
6. Adobe Flash Player Multiple Vulnerabilities // 21 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 21 views
8. Microsoft Word Malformed Object Pointer Vulnerability // 19 views
9. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 18 views
10. Zeroboard Two Vulnerabilities // 18 views