Secunia Logo
Netsikker nu! 2008
 
PHP "glob()" Code Execution Vulnerability
Secunia Advisory: SA26085
Release Date: 2007-07-16
Last Update: 2007-08-31
Popularity: 10,185 views

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

Software:PHP 5.2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3806


Description:
shinnai has discovered a vulnerability in PHP, which can be exploited by malicious, local users to bypass certain security restrictions.

The vulnerability is caused due to an error in the handling of an uninitialized structure inside the "glob()" function. This can be exploited to execute arbitrary code, which may lead to security restrictions (e.g. the "disable_functions" directive) being bypassed.

The vulnerability is confirmed in the 5.2.3 win32 installer. Other versions may also be affected.

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

Provided and/or discovered by:
shinnai

Changelog:
2007-07-17: Updated "Solution" section.
2007-07-19: Added CVE reference.
2007-08-31: Updated "Solution" section.

Original Advisory:
http://milw0rm.com/exploits/4181


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. phpBB Avatar Script Insertion Vulnerability // 25 views
2. CA ARCserve Backup Multiple Vulnerabilities // 24 views
3. phpBB "gen_rand_string()" Predictable RNG Weakness // 22 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 22 views
5. Opera Multiple Vulnerabilities // 20 views
6. Red Hat update for cups // 19 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 18 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 18 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 18 views
10. Ubuntu update for ruby1.8 // 17 views