#VU110489 Cross-site scripting in PHP - CVE-2006-0996


| Updated: 2025-06-09

Vulnerability identifier: #VU110489

Vulnerability risk: Medium

CVSSv4.0: N/A

CVE-ID: CVE-2006-0996

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 Cross-site scripting attacks.

An input validation error exists in phpinfo (info.c) in PHP 5.1.2 and 4.4.2. 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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 4.4.2, 5.1.2


External links
https:ftp://patches.sgi.com/support/free/security/advisories/20060501-01-U.asc
https://cvs.php.net/viewcvs.cgi/php-src/ext/standard/info.c
https://cvs.php.net/viewcvs.cgi/php-src/ext/standard/info.c?r1=1.260&r2=1.261
https://marc.info/?l=php-cvs&m=114374620416389&w=2
https://rhn.redhat.com/errata/RHSA-2006-0276.html
https://rhn.redhat.com/errata/RHSA-2006-0549.html
https://secunia.com/advisories/19599
https://secunia.com/advisories/19775
https://secunia.com/advisories/19832
https://secunia.com/advisories/19979
https://secunia.com/advisories/20052
https://secunia.com/advisories/20210
https://secunia.com/advisories/20222
https://secunia.com/advisories/20951
https://secunia.com/advisories/21125
https://secunia.com/advisories/21252
https://secunia.com/advisories/21564
https://security.gentoo.org/glsa/glsa-200605-08.xml
https://securityreason.com/achievement_securityalert/34
https://securityreason.com/securityalert/675
https://securitytracker.com/id?1015879
https://support.avaya.com/elmodocs2/security/ASA-2006-129.htm
https://support.avaya.com/elmodocs2/security/ASA-2006-160.htm
https://www.mandriva.com/security/advisories?name=MDKSA-2006:074
https://www.novell.com/linux/security/advisories/05-05-2006.html
https://www.osvdb.org/24484
https://www.php.net/ChangeLog-4.php#4.4.3
https://www.redhat.com/support/errata/RHSA-2006-0501.html
https://www.securityfocus.com/bid/17362
https://www.ubuntu.com/usn/usn-320-1
https://www.vupen.com/english/advisories/2006/1290
https://www.vupen.com/english/advisories/2006/2685
https://exchange.xforce.ibmcloud.com/vulnerabilities/25702
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10997


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