CVE-2012-0216: XSS

Published Apr 22, 2012
·
Updated

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 modphp or modrivet 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.

Affected Software

9 affected componentsFixes available
Debian apache2<=2.2.16-6
Debian apache2<=2.2.22-1
Debian apache2<=2.22-3
Debian Debian Linux=6.0
Debian Debian Linux=7.0
debian/apache2<2.2.22-4
2.2.22-4
debian/apache2<2.2.22-4
2.2.22-4
debian/apache2<2.2.22-4
2.2.22-4
debian/apache2
2.2.16-6+squeeze72.2.22-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.2.22-4
  2. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.2.16-6+squeeze7Fixed in 2.2.22-4
  3. Upgrade

    Upgrade apache2 to a version that resolves this vulnerability.

    Fixed in 2.2.16-6+squeeze7
  4. Upgrade

    Upgrade apache2 to a version that resolves this vulnerability.

    Fixed in 2.2.22-4

Event History

Apr 22, 2012
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
06:55 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·06:55 PM
DescriptionAffected Software
Aug 27, 2025
Updated
via NVD·11:17 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2012-0216?

CVE-2012-0216 has been classified as a medium-severity vulnerability.

2

How do I fix CVE-2012-0216?

To fix CVE-2012-0216, upgrade the apache2 package to versions 2.2.16-6+squeeze7 or 2.2.22-4 for Wheezy.

3

Who is affected by CVE-2012-0216?

CVE-2012-0216 affects Debian GNU/Linux users running specific versions of the apache2 package with mod_php or mod_rivet enabled.

4

What are the implications of CVE-2012-0216?

CVE-2012-0216 may allow local users to conduct cross-site scripting (XSS) attacks due to the presence of example scripts.

5

Is CVE-2012-0216 still an active threat?

CVE-2012-0216 is considered less of an active threat now due to the availability of fixed versions of the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203