Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts.xwork/xwork-core
  4. ›
  5. CVE-2012-0394

CVE-2012-0394: Improper Control of Generation of Code ('Code Injection')

May 4, 2022 (updated December 27, 2023)

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. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.18

Fixed versions

  • 2.3.18

Solution

Upgrade to version 2.3.18 or above.

Impact 6.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.struts.xwork/xwork-core/CVE-2012-0394.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.