Apache Struts 2.x < 2.5.22 Remote Code Execution (S2-059)

critical Web App Scanning Plugin ID 112766

Synopsis

Apache Struts 2.x < 2.5.22 Remote Code Execution (S2-059)

Description

Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

Solution

Refer to the S2-059 vendor advisory for mitigation options.

See Also

https://cwiki.apache.org/confluence/display/WW/S2-059

Plugin Details

Severity: Critical

ID: 112766

Type: remote

Published: 4/29/2021

Updated: 2/1/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-0230

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2019-0230

Vulnerability Information

CPE: cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 9/14/2020

Reference Information

CVE: CVE-2019-0230