Vulnerability Name:

CVE-2012-0838 (CCN-73690)

Assigned:2012-02-10
Published:2012-02-10
Updated:2018-12-07
Summary: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.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
7.4 High (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.5 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-20
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2012-0838

Source: CCN
Type: JVN#79099262
Apache Struts 2 vulnerable to an arbitrary Java method execution

Source: JVN
Type: Third Party Advisory, VDB Entry
JVN#79099262

Source: JVNDB
Type: Third Party Advisory, VDB Entry
JVNDB-2012-000012

Source: CCN
Type: Apache Struts Web site
Struts

Source: CONFIRM
Type: Vendor Advisory
http://struts.apache.org/2.3.1.2/docs/s2-007.html

Source: CCN
Type: OSVDB ID: 77593
Apache Struts Conversion Error OGNL Expression Injection

Source: CCN
Type: BID-49728
Apache Struts Conversion Error OGNL Expression Evaluation Vulnerability

Source: XF
Type: UNKNOWN
apache-struts-ognl-code-execution(73690)

Source: CONFIRM
Type: Issue Tracking, Vendor Advisory
https://issues.apache.org/jira/browse/WW-3668

Source: CCN
Type: IBM Security Bulletin 6620351 (Call Center for Commerce)
IBM Call Center and Apache Struts Struts upgrade strategy (various CVEs, see below)

Source: CCN
Type: IBM Security Bulletin 6620355 (Sterling Order Management)
IBM Sterling Order Management Apache Struts upgrade strategy (various CVEs, see below)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:apache:struts:*:*:*:*:*:*:*:* (Version >= 2.0.0 and <= 2.2.3)

  • Configuration CCN 1:
  • cpe:/a:apache:struts:2.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.11:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.11.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.11.2:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.0.14:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.1.8:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.1.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.2.3:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20120838000
    V
    CVE-2012-0838 on Ubuntu 12.04 LTS (precise) - medium.
    2012-03-02
    oval:com.ubuntu.trusty:def:20120838000
    V
    CVE-2012-0838 on Ubuntu 14.04 LTS (trusty) - medium.
    2012-03-02
    BACK
    apache struts *
    apache struts 2.0.8
    apache struts 2.0.6
    apache struts 2.0.9
    apache struts 2.0.11
    apache struts 2.0.11.1
    apache struts 2.0.11.2
    apache struts 2.0.12
    apache struts 2.0.14
    apache struts 2.1.6
    apache struts 2.1.8
    apache struts 2.1.8.1
    apache struts 2.2.1
    apache struts 2.2.1.1
    apache struts 2.2.3