Editor Login | Register
Ekle

> World > Security
PHP Multiple Vulnerabilities - Security - World -
CWRedLight
(Date : 12.05.2008 22:06:49)


PHP Multiple Vulnerabilities
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
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


Derecelendir
Kaynak http://secunia.com/advisories/30048/
İçerik İhbarı
Bağlantılar: bilgininefendisi.net

Open Source Document Project AUP&TOS