Secunia Logo Secunia CSI integrated with Microsoft WSUS for 3rd Party Patch Management 


Secunia PSI WorldMap
 
PHP "phpinfo()" Cross-Site Scripting and Security Bypass
Secunia Advisory: SA19599
Release Date: 2006-04-10
Last Update: 2006-11-03
Popularity: 19,976 views

Critical:
Not critical
Impact: Security Bypass
Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:PHP 4.0.x
PHP 4.1.x
PHP 4.2.x
PHP 4.3.x
PHP 4.4.x
PHP 5.0.x
PHP 5.1.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
Maksymilian Arciemowicz has reported some vulnerabilities in PHP, which can be exploited by malicious, local users to bypass certain security restrictions and by malicious people to conduct cross-site scripting attacks.

1) The "phpinfo()" PHP function only sanitises the first 4096 characters of an array request parameter before it is returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site via a script calling "phpinfo()".

2) An error in the "tempnam()" PHP function can be exploited to bypass the "open_basedir" directive and create temporary files in arbitrary directories via directory traversal attacks.

3) An error in the "copy()" PHP function can be exploited to bypass the safe mode protection mechanism and access files outside the "open_basedir" root via the "compress.zlib://" file wrapper.

The vulnerabilities have been reported in versions 4.4.2 and 5.1.2, and prior.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



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. Microsoft DirectShow AVI File Parsing Buffer Overflow Vulnerability // 100 views
2. Microsoft Windows TCP/IP Implementation Vulnerabilities // 43 views
3. Adobe Flash Player Multiple Vulnerabilities // 38 views
4. Microsoft Internet Explorer Local File Disclosure Vulnerabilities // 30 views
5. Microsoft Windows "ShellExecute()" Input Validation Vulnerability // 29 views
6. Google Chrome Stylesheet Redirection Information Disclosure // 25 views
7. Microsoft Windows SMB Client Implementation Vulnerabilities // 24 views
8. Microsoft Data Analyzer ActiveX Control Vulnerability // 22 views
9. Microsoft Office PowerPoint Multiple Vulnerabilities // 22 views
10. Microsoft Office File Parsing Buffer Overflow Vulnerability // 21 views