Secunia Logo
 
PHP Multiple Vulnerabilities
Secunia Advisory: SA28318
Release Date: 2008-01-03
Last Update: 2008-02-04
Popularity: 7,349 views

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

Software:PHP 4.4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3378
CVE-2008-0145


Description:
Some vulnerabilities have been reported in PHP, where some have unknown impact and others can be exploited by malicious users to bypass certain security restrictions.

1) An integer overflow error exists in the "chunk_split()" function.

This may be related to vulnerability #1 in:
SA25456

2) Integer overflow errors exists in the "strcspn()" and "strspn()" functions.

3) A regression error related to the "glob()" function exist, which can potentially be exploited to bypass the "open_basedir" directive.

4) An error exists within the handling of SQL queries containing "LOCAL INFILE" inside the MySQL extension. This can be exploited to bypass the "open_basedir" and "safe_mode" directives.

This is related to vulnerability #5 in:
SA26642

5) An error exists when processing "session_save_path" and "error_log" values, which can be exploited to bypass the "open_basedir" and "safe_mode" directives.

The vulnerabilities are reported in versions prior to 4.4.8.

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

Provided and/or discovered by:
1) The vendor credits Gerhard Wagner.

Changelog:
2008-02-04: Added CVE reference.

Original Advisory:
http://www.php.net/releases/4_4_8.php

Other References:
SA25456:
http://secunia.com/advisories/25456/

SA26642:
http://secunia.com/advisories/26642/

Extended Solution:
The "Extended Solution" section is available for Secunia customers only. Request a trial and get access to the Secunia Customer Area and Extended Secunia advisories.


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. Sun Java JDK / JRE Multiple Vulnerabilities // 159 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 54 views
3. PHP ZipArchive::extractTo() Directory Traversal Vulnerability // 32 views
4. Linux Kernel PARISC "parisc_show_stack()" Denial of Service // 30 views
5. phpBB Avatar Functions Information Disclosure and Deletion // 30 views
6. Nagios Unspecified CGI Vulnerability // 27 views
7. IBM HMC HTTP TRACE Response Cross-Site Scripting Weakness // 25 views
8. phpBB BBcode "url" Script Insertion Vulnerability // 24 views
9. PowerDNS CH HINFO Denial of Service Vulnerability // 24 views
10. RSyslog "AllowedSender" Security Bypass Vulnerability // 24 views