CVE-2006-0996 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via long array variables in phpinfo, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2006-0996?
CVE-2006-0996 is a medium-severity cross-site scripting vulnerability in Php Php, published on 10 Apr 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in phpinfo (info.c) in PHP 5.1.2 and 4.4.2 allows remote attackers to inject arbitrary web script or HTML via long array variables, including (1) a large number of dimensions or (2) long values, which prevents HTML tags from being removed.
Weakness: CWE-79
Which versions are affected by CVE-2006-0996?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2006-0996?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2006-0996 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-0996 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as CVE-2006-1663, GHSA-h9v7-73gj-prww.