Cross-site scripting in PHP - CVE-2005-3388

 

Cross-site scripting in PHP - CVE-2005-3388

Published: June 23, 2020 / Updated: June 8, 2025


Vulnerability identifier: #VU110500
CSH Severity: Medium
CVSS v4: []
CVE-ID: CVE-2005-3388
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in the phpinfo function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5. A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

PHP
Gentoo Linux
Fedora
dev-php/php
dev-php/php-cgi
ca-certificates

How to mitigate CVE-2005-3388

Install update from vendor's website.

PHP - addressed in versions 4.4.0, 4.10
dev-php/php - update to 4.4.0-r4
dev-php/php-cgi - update to 4.4.0-r8
ca-certificates - update to 2020.2.41-1.1.fc32

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins