Secunia Logo
Netsikker nu! 2008
 
PHP Multiple Vulnerabilities
Secunia Advisory: SA21546
Release Date: 2006-08-18
Last Update: 2006-11-03
Popularity: 17,131 views

Critical:
Highly critical
Impact: Unknown
Security Bypass
DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.4.x
PHP 5.1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4481
CVE-2006-4482
CVE-2006-4483
CVE-2006-4484
CVE-2006-4485
CVE-2006-4486


Description:
Some vulnerabilities have been reported in PHP, where some have unknown impacts, and others can be exploited by malicious, local users to bypass certain security restrictions, or by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.

1) Missing safe_mode and open_basedir verification exists in the "file_exists()", "imap_open()", and "imap_reopen()" functions.

2) Some integer overflows exist in the "str_repeat()" and "wordwrap()" functions on 64-bit systems. If these functions are used on untrusted data which can be specified by an attacker, this can be exploited to cause a heap-based buffer overflow.

3) The open_basedir and safe_mode protection mechanisms can be bypassed via the cURL extension and the realpath cache.

4) A boundary error within the "LWZReadByte_()" function in the GD extension can potentially be exploited to execute arbitrary code by e.g. tricking a PHP application to process a specially crafted GIF image file.

5) A boundary error in the "stripos()" function can be exploited to cause an out-of-bounds memory read.

6) Incorrect memory_limit restrictions exists on 64-bit systems, which can be exploited by malicious people to cause a DoS.

Other issues which may be security related have also been reported.

Solution:
Update to version 4.4.4, 5.1.5 or 5.2.0.
http://www.php.net/downloads.php

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

Changelog:
2006-09-05: Added CVE references.
2006-09-05: Added CVE references.
2006-09-08: Added additional information. Escalated criticality.
2006-09-22: Added additional information.
2006-11-03: Updated "Solution" section.

Original Advisory:
http://www.php.net/release_4_4_4.php
http://www.php.net/release_5_1_5.php


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 BBcode "url" Script Insertion Vulnerability // 73 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 73 views
3. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 50 views
4. Microsoft Windows Vista Page Fault Handling Denial of Service // 49 views
5. VMware VirtualCenter Multiple Vulnerabilities // 47 views
6. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 42 views
7. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 37 views
8. Website Directory "keyword" Cross-Site Scripting Vulnerability // 29 views
9. PHP-Fusion Recepies Module "kat_id" SQL Injection // 29 views
10. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 29 views