Apache Struts 2.x < 2.3.15.1 Remote Code Execution (S2-016)

critical Web App Scanning Plugin ID 112741

Synopsis

Apache Struts 2.x < 2.3.15.1 Remote Code Execution (S2-016)

Description

Apache Struts 2.x to 2.3.15 allows remote attackers to execute arbitrary OGNL expressions via a parameter with a crafted 'action:', 'redirect:', or 'redirectAction:' prefix.

This mechanism was intended to help with attaching navigational information to buttons within forms.

Solution

Upgrade to Apache Struts 2 2.3.15.1 or later.

See Also

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

Plugin Details

Severity: Critical

ID: 112741

Type: remote

Published: 4/12/2021

Updated: 9/7/2021

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9.3

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

CVSS Score Source: CVE-2013-2251

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-2013-2251

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/19/2013

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Reference Information

CVE: CVE-2013-2251

BID: 61189