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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apache2 | 2.2.22-4 | — |
| Debian 13 | apache2 | 2.2.22-4 | — |
| Debian 12 | apache2 | 2.2.22-4 | — |
| Debian 6.0 | apache2 | 2.2.16-6+squeeze7 | DSA-2452-1 |
Advisories 1
- DSA-2452-1 apache2 - insecure default configuration Debian Security (DSA / DLA) · Mar 9, 2026
References
- gnulinux-apache2-xss(75211) vdb-entry
- DSA-2452 vendor-advisory