Apache Struts 2 CookieInterceptor Unspecified Security Bypass (S2-022)

medium Nessus Plugin ID 73944

Synopsis

The remote web server contains a web application that uses a Java framework that is affected by a security bypass vulnerability.

Description

The remote web application appears to use Struts 2, a Java based web application framework. The version of Struts 2 in use is affected by a security bypass vulnerability due to a flaw with CookieInterceptor. A remote, unauthenticated attacker can exploit this issue to manipulate the ClassLoader and modify a session state to bypass security restrictions.

Note that this vulnerability can only be exploited when a wildcard character is used to configure the 'cookiesName' value.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Apache Struts version 2.3.20 or later.

See Also

http://www.nessus.org/u?9aff5358

Plugin Details

Severity: Medium

ID: 73944

File Name: struts_2_3_16_3.nasl

Version: 1.19

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 5/9/2014

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.5

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

CVSS Score Source: CVE-2014-0116

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Ease: No known exploits are available

Patch Publication Date: 5/3/2014

Vulnerability Publication Date: 5/3/2014

Reference Information

CVE: CVE-2014-0116

BID: 67218