CVE-2012-0394Struts Code Injection
Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode
Published Jan 8, 2012 · Updated Dec 3, 2024 · Also known as GHSA-hmvj-gc9q-mg9p
Key Facts
Patch immediately- CVE-2012-0394 is a medium-severity vulnerability (CVSS 6.8 v2) affecting Struts (Apache), org.apache.struts.xwork:xwork-core (maven).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 73% probability of exploitation in the next 30 days.
- Fixed versions are available, including Struts 2.3.17, org.apache.struts.xwork:xwork-core 2.3.18.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v2
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
73%
Higher than 99.4% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
60/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2012-0394
- advisoryGHSA advisory
Description
The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| StrutsApache | See advisory | 2.3.17 |
| org.apache.struts.xwork:xwork-coremaven | See advisory | 2.3.18 |
Patched Releases
Struts
2.3.17
org.apache.struts.xwork:xwork-core
2.3.18
Timeline
Publicly disclosed
Jan 8, 2012
Last updated
Dec 3, 2024
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorynvd.nist.gov · CVE-2012-0394
- advisoryGHSA advisory
- exploitMSF struts_dev_mode.rb
- exploitExploitDB-18329
- exploitExploitDB-31434
FAQ
Common Questions.
The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors.
Affected: Struts (Apache); org.apache.struts.xwork:xwork-core (maven). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Struts 2.3.17, org.apache.struts.xwork:xwork-core 2.3.18.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2012-0394 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo