PHP PHPInfo Cross-Site Scripting Variant Vulnerability

BID:22803

Info

PHP PHPInfo Cross-Site Scripting Variant Vulnerability

Bugtraq ID: 22803
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Mar 03 2007 12:00AM
Updated: May 04 2007 10:09PM
Credit: Stefan Esser is credited with the discovery of this vulnerability.
Vulnerable: PHP PHP 4.4.6
PHP PHP 4.4.5
PHP PHP 4.4.4
PHP PHP 4.4.3
Not Vulnerable: PHP PHP 4.4.7
- Slackware Linux 10.2
- Slackware Linux 11.0
- Slackware Linux -current

Discussion

PHP PHPInfo Cross-Site Scripting Variant Vulnerability

PHP is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

This is a variant of the vulnerability described in BID 15428. This variant was reintroduced into PHP versions 4.4.3 through 4.4.6.

Exploit / POC

PHP PHPInfo Cross-Site Scripting Variant Vulnerability

The following proof-of-concept URI is available:

http://www.example.com/phpinfo.php?a[]=[XSS]

Solution / Fix

PHP PHPInfo Cross-Site Scripting Variant Vulnerability

Solution:
The vendor released an update to address this issue. Please see the references for more information.


PHP PHP 4.4.3

PHP PHP 4.4.4

PHP PHP 4.4.5

PHP PHP 4.4.6

References

PHP PHPInfo Cross-Site Scripting Variant Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report