CVE-2012-0394: Improper Control of Generation of Code ('Code Injection')
(updated )
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.
References
- archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- struts.apache.org/2.x/docs/s2-008.html
- struts.apache.org/2.x/docs/version-notes-2311.html
- www.exploit-db.com/exploits/18329
- www.exploit-db.com/exploits/31434
- github.com/advisories/GHSA-hmvj-gc9q-mg9p
- github.com/apache/struts/commit/34c80dae734e70f13c0e46f9c83602fb71318e58
- issues.apache.org/jira/browse/WW-3729
- nvd.nist.gov/vuln/detail/CVE-2012-0394
- www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
Code Behaviors & Features
Detect and mitigate CVE-2012-0394 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →