CVE-2006-1548 Cross-site scripting in Apache Struts
Remote attackers can inject arbitrary web script or HTML via the parameter name in Apache Struts, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2006-1548?
CVE-2006-1548 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 30 Mar 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in (1) LookupDispatchAction and possibly (2) DispatchAction and (3) ActionDispatcher in Apache Software Foundation (ASF) Struts before 1.2.9 allows remote attackers to inject arbitrary web script or HTML via the parameter name, which is not filtered in the resulting error message.
Which versions are affected by CVE-2006-1548?
2 open source packages ship an affected version, including struts:struts. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
struts:struts Maven | All versions | 1.2.9 |
struts:struts Maven | All versions | 1.2.9 |
Products include Apache Struts.
How do I fix CVE-2006-1548?
Upgrade struts:struts to 1.2.9 or later.
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-2006-1548 being exploited?
There is no known exploitation of CVE-2006-1548 in the wild and no public exploit code.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-p3vw-fvwx-qcv5.