HOMEVULNERABILITIESCVE-2012-0838
CRITICAL

CVE-2012-0838

CWE-20Published: March 2, 2012· Updated: Jun 16, 2026

10.0
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2012-0838 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected Vendors & Products

Apache1 product(s)
struts
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

http://jvn.jp/en/jp/JVN79099262/index.htmlThird Party Advisory · VDB Entry
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012Third Party Advisory · VDB Entry
https://issues.apache.org/jira/browse/WW-3668Issue Tracking · Vendor Advisory
http://jvn.jp/en/jp/JVN79099262/index.htmlThird Party Advisory · VDB Entry
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012Third Party Advisory · VDB Entry
https://issues.apache.org/jira/browse/WW-3668Issue Tracking · Vendor Advisory

Quick Facts

CVE IDCVE-2012-0838
CVSS Score10.0 / 10
SeverityCRITICAL
WeaknessCWE-20
CISA KEVNo
Affected1 vendor(s)
PublishedMar 2, 2012

Related CVEs (CWE-20)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2012-0838 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.