CVE-2012-4271 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML into the Bad Behavior WordPress plugin admin interface via multiple parameters.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-4271?
CVE-2012-4271 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 13 Aug 2012. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Multiple cross-site scripting (XSS) vulnerabilities in bad-behavior-wordpress-admin.php in the Bad Behavior plugin before 2.0.47 and 2.2.x before 2.2.5 for WordPress allow remote attackers to inject arbitrary web script or HTML via the (1) PATH_INFO, (2) httpbl_key, (3) httpbl_maxage, (4) httpbl_threat, (5) reverse_proxy_addresses, or (6) reverse_proxy_header parameter.
Weakness: CWE-79
Which versions are affected by CVE-2012-4271?
It affects 2 products.
Products include Mark Jaquith Bad Behavior, Wordpress Wordpress.
How do I fix CVE-2012-4271?
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-2012-4271 being exploited?
There is no known exploitation of CVE-2012-4271 in the wild and no public exploit code.
Sources
Also known as GHSA-w5cr-843p-q4hf, MINI-95q3-jr8p-f2cw, MINI-hvvx-g5h3-7j9w.