#VU110535 Cross-site scripting in PHP - CVE-2002-1954


| Updated: 2025-06-08

Vulnerability identifier: #VU110535

Vulnerability risk: Medium

CVSSv4.0: N/A

CVE-ID: CVE-2002-1954

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

Vulnerability allows a remote attacker to perform XSS attacks.

The vulnerability is caused by an input validation error in the phpinfo function in PHP 4.2.3 when processing query string argument, as demonstrated using soinfo.php. A remote 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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 4.2.3


External links
https://archives.neohapsis.com/archives/bugtraq/2003-06/0027.html
https://archives.neohapsis.com/archives/vulnwatch/2002-q4/0021.html
https://www.iss.net/security_center/static/10355.php
https://www.techie.hopto.org/vulns/2002-36.txt


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability