Vulnerability Name:

CVE-2016-6795 (CCN-118624)

Assigned:2016-10-18
Published:2016-10-18
Updated:2019-08-12
Summary:In the Convention plugin in Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
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): High
Integrity (I): High
Availibility (A): High
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)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
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:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
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-22
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2016-6795

Source: BID
Type: Third Party Advisory, VDB Entry
93773

Source: CCN
Type: BID-93773
Apache Struts CVE-2016-6795 Directory Traversal Vulnerability

Source: XF
Type: UNKNOWN
apache-struts-cve20166795-dir-trav(118624)

Source: CONFIRM
Type: UNKNOWN
https://security.netapp.com/advisory/ntap-20180629-0003/

Source: CCN
Type: Apache Struts 2 Documentation S2-042
Possible path traversal in the Convention plugin

Source: CONFIRM
Type: Vendor Advisory
https://struts.apache.org/docs/s2-042.html

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2016-6795

Vulnerable Configuration:Configuration 1:
  • cpe:/a:apache:struts:2.3.20:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.2:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.3:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.21:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.22:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.23:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24.2:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24.3:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.25:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.26:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.27:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.28:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.28.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.29:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.30:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:apache:struts:2.3.20:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.28:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.30:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.3:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.28.1:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.29:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.20.2:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.21:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.22:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.23:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.24.2:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.25:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.26:*:*:*:*:*:*:*
  • OR cpe:/a:apache:struts:2.3.27:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.trusty:def:20166795000
    V
    CVE-2016-6795 on Ubuntu 14.04 LTS (trusty) - untriaged.
    2017-09-20
    BACK
    apache struts 2.3.20
    apache struts 2.3.20.1
    apache struts 2.3.20.2
    apache struts 2.3.20.3
    apache struts 2.3.21
    apache struts 2.3.22
    apache struts 2.3.23
    apache struts 2.3.24
    apache struts 2.3.24.1
    apache struts 2.3.24.2
    apache struts 2.3.24.3
    apache struts 2.3.25
    apache struts 2.3.26
    apache struts 2.3.27
    apache struts 2.3.28
    apache struts 2.3.28.1
    apache struts 2.3.29
    apache struts 2.3.30
    apache struts 2.3.20
    apache struts 2.3.24
    apache struts 2.3.24.1
    apache struts 2.3.28
    apache struts 2.3.30
    apache struts 2.3.20.1
    apache struts 2.3.20.3
    apache struts 2.3.28.1
    apache struts 2.3.29
    apache struts 2.3.20.2
    apache struts 2.3.21
    apache struts 2.3.22
    apache struts 2.3.23
    apache struts 2.3.24.2
    apache struts 2.3.25
    apache struts 2.3.26
    apache struts 2.3.27