Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


PHP Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA21546  
Release Date: 2006-08-18
Last Update: 2006-11-03

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

CVE reference:CVE-2006-4481 (Secunia mirror)
CVE-2006-4482 (Secunia mirror)
CVE-2006-4483 (Secunia mirror)
CVE-2006-4484 (Secunia mirror)
CVE-2006-4485 (Secunia mirror)
CVE-2006-4486 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


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.

Do you have this product installed on your home computer? Scan using the free Personal Software Inspector. Check if a vulnerable version is installed on computers in your corporate network, scan using the Network Software Inspector.

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



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.

32 Related Secunia Security Advisories, displaying 10

1. PHP Multiple Vulnerabilities
2. PHP COM Objects Security Bypass
3. PHP crypt() Race Condition Vulnerability
4. PHP "gdPngReadData()" Truncated PNG Data Denial of Service
5. PHP Multiple Vulnerabilities
6. PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection
7. PHP "readwbmp()" Integer Overflow Vulnerability
8. PHP Multiple Code Execution Vulnerabilities
9. PHP Interbase Extension "isc_attach_database()" Buffer Overflow
10. PHP Session Handling Double Free Vulnerabilities

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Debian OpenSSL Predictable Random Number Generator and Update
2.
Microsoft Malware Protection Engine File Parsing Denial of Service
3.
Ubuntu update for openssl
4.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
5.
Build A Niche Store "q" Cross-Site Scripting
6.
ZyXEL ZyWALL 100 "Referer" Cross-Site Scripting Vulnerability
7.
Microsoft Word Two Code Execution Vulnerabilities
8.
Novell Client Login Long Username/Contex t Buffer Overflow
9.
cPanel Cross-Site Scripting and Request Forgery Vulnerabilities
10.
Microsoft Publisher Object Handler Validation Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia