CVE-2006-3918 — Red Hat
CVE-2006-3918 is a Cross-site Scripting (XSS) vulnerability. 5 public exploit references exist, so weaponization risk is real. No vendor fix is recorded yet; mitigation options are listed below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Description
http_protocol.c in (1) IBM HTTP Server 6.0 before 6.0.2.13 and 6.1 before 6.1.0.1, and (2) Apache HTTP Server 1.3 before 1.3.35, 2.0 before 2.0.58, and 2.2 before 2.2.2, does not sanitize the Expect header from an HTTP request when it is reflected back in an error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated using a Flash SWF file.
Affected Products
http serverapacheubuntu linuxcanonicaldebian linuxdebianenterprise linux serverredhatenterprise linux workstationredhatResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache 1.3.35/2.0.58/2.2.2 - Arbitrary HTTP Request Headers Security
by Thiago Zaninotti · Aug 24, 2006
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2006-3918 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Certificate System 7.3 | ant-0:1.6.5-1jpp_1rh | RHSA-2010:0602 |
| Red Hat Enterprise Linux 3 | httpd-0:2.0.46-61.ent | RHSA-2006:0619 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | see advisory | RHSA-2006:0618 |
| Red Hat Network Proxy v 4.2 (RHEL 3) | jabberd-0:2.0s10-3.37.rhn | RHSA-2008:0523 |
| Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1) | see advisory | RHSA-2006:0692 |
Frequently Asked Questions
Is CVE-2006-3918 in your dependencies?
Find it across , including transitive dependencies.