CVE-2012-0216 Cross-site scripting in n/a
Local attackers can exploit example scripts in default Debian Apache configurations to perform XSS, gain privileges, or read sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-0216?
CVE-2012-0216 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 22 Apr 2012. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The default configuration of the apache2 package in Debian GNU/Linux squeeze before 2.2.16-6+squeeze7, wheezy before 2.2.22-4, and sid before 2.2.22-4, when mod_php or mod_rivet is used, provides example scripts under the doc/ URI, which might allow local users to conduct cross-site scripting (XSS) attacks, gain privileges, or obtain sensitive information via vectors involving localhost HTTP requests to the Apache HTTP Server.
Which versions are affected by CVE-2012-0216?
It affects 1 product.
Products include Debian Debian Linux.
How do I fix CVE-2012-0216?
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-0216 being exploited?
There is no known exploitation of CVE-2012-0216 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2012-0216, DSA-2452-1, GHSA-wx9w-fvvf-6955.