CVE-2005-3745 Apache Struts Cross-site scripting Vulnerability
Remote attackers can inject arbitrary web script or HTML via the query string 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
- None listed
What is CVE-2005-3745?
CVE-2005-3745 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 22 Nov 2005. 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 Apache Struts 1.2.7, and possibly other versions allows remote attackers to inject arbitrary web script or HTML via the query string, which is not properly quoted or filtered when the request handler generates an error message.
Which versions are affected by CVE-2005-3745?
2 open source packages ship an affected version, including org.apache.struts:struts-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.struts:struts-core Maven | All versions to 1.2.7 | None |
org.apache.struts:struts-core Maven | All versions to 1.2.7 | None |
Products include Apache Struts.
How do I fix CVE-2005-3745?
No fix has been published for CVE-2005-3745 yet. Limit exposure of the affected software until one is available.
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-2005-3745 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-3745 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-9cjh-qmvx-436c.