CVE-2007-1287 Cross-site scripting in n/a
Remote attackers can execute cross-site scripting attacks via unescaped input in phpinfo output, requiring user interaction to trigger.
- 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
- None listed
What is CVE-2007-1287?
CVE-2007-1287 is a medium-severity cross-site scripting vulnerability in Php Php, published on 6 Mar 2007. 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
A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388.
Which versions are affected by CVE-2007-1287?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-1287?
No fix has been published for CVE-2007-1287 yet. Limit exposure of the affected software until one is available.
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-2007-1287 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1287 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-q96v-4v8v-rmwm.