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 German 

Secunia Advisory: SA30048  
Release Date: 2008-05-02
Last Update: 2008-05-08

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

Software:PHP 5.2.x

CVE reference:CVE-2008-0599 (Secunia mirror)
CVE-2008-2050 (Secunia mirror)
CVE-2008-2051 (Secunia mirror)
CVE-2008-2107 (Secunia mirror)
CVE-2008-2108 (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 users to bypass certain security restrictions, and potentially by malicious people to cause a DoS (Denial of Service) or to compromise a vulnerable system.

1) An unspecified error in the FastCGI SAPI can be exploited to cause a stack-based buffer overflow.

2) An error in the processing of multibyte characters within the "escapeshellcmd()" and "escapeshellarg()" functions can be exploited to escape the inserted backslash or quote characters via certain multibyte characters.

Successful exploitation allows to bypass the "safe_mode_exec_dir" and "disable_functions" directives, and potentially to inject arbitrary shell commands via user controlled input, but requires that the shell uses a locale with a variable width character (e.g. GBK, EUC-KR, SJIS).

3) A vulnerability is caused due to an error during path translation in cgi_main.c. This can potentially be exploited to execute arbitrary code, but depends on how a targeted application is using PHP.

4) An error in cURL can be exploited to bypass the "safe_mode" directive.

5) A boundary error in PCRE can potentially be exploited by malicious people to cause a DoS or compromise a vulnerable system.

For more information:
SA28923

NOTE: A weakness in the "GENERATE_SEED()" macro has also been reported.

The vulnerabilities are reported in versions prior to 5.2.6.

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 5.2.6.
http://www.php.net/downloads.php

Provided and/or discovered by:
1) The vendor credits Andrei Nigmatulin.
2) Stefan Esser.
3) The vendor credits Ryan Permeh.
4) The vendor credits Maksymilian Arciemowicz.

Changelog:
2008-05-07: Updated "Description" and "Original Advisory" section with additional information. Added CVE references and link to US-CERT.
2008-05-08: Added CVE reference.

Original Advisory:
PHP:
http://www.php.net/ChangeLog-5.php

Stefan Esser:
http://www.sektioneins.de/advisories/SE-2008-03.txt
http://www.sektioneins.de/advisories/SE-2008-02.txt

Other References:
SA28923:
http://secunia.com/advisories/28923/

US-CERT VU#147027:
http://www.kb.cert.org/vuls/id/147027



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.

18 Related Secunia Security Advisories, displaying 10

1. PHP Multiple Vulnerabilities
2. PHP COM Objects Security Bypass
3. PHP Multiple Vulnerabilities
4. PHP "glob()" Code Execution Vulnerability
5. PHP Multiple Extensions Buffer Overflow Vulnerabilities
6. PHP Integer Overflow Vulnerability and Security Bypass
7. PHP crypt() Race Condition Vulnerability
8. PHP "gdPngReadData()" Truncated PNG Data Denial of Service
9. PHP SOAP Extension HTTP Authentication Weak Nonce
10. PHP Multiple 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 Word Two Code Execution Vulnerabilities
3.
Microsoft Malware Protection Engine File Parsing Denial of Service
4.
Microsoft Publisher Object Handler Validation Vulnerability
5.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
6.
Ubuntu update for openssl
7.
Novell Client Login Long Username/Contex t Buffer Overflow
8.
Citrix Access Gateway Unspecified Authentication Bypass
9.
Internet Explorer "DisableCaching OfSSLPages" Weakness
10.
cPanel Cross-Site Scripting and Request Forgery Vulnerabilities





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