Vulnerabilities · 2012 · Apache
CVE-2012-0838
Apache Struts vulnerability
Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Struts. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- struts.apache.org/2.3.1.2/docs/s2-007.html · Vendor Advisory
- issues.apache.org/jira/browse/WW-3668 · Vendor Advisory
- jvn.jp/en/jp/JVN79099262/index.html · Third Party Advisory
- jvndb.jvn.jp/jvndb/JVNDB-2012-000012 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2012-0838
- cve.org/CVERecord?id=CVE-2012-0838
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.