Apache Struts 2.x < 2.2.3 Multiple XSS (S2-006)

medium Nessus Plugin ID 117388

Synopsis

A web application running on the remote host uses a Java framework that is affected by multiple cross-site scripting vulnerabilities.

Description

The version of Apache Struts running on the remote host is 2.x prior to 2.2.3. It, therefore, is affected by multiple cross-site scripting (XSS) vulnerabilities due to improper validation of action names.

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.2.3 or later

See Also

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

Plugin Details

Severity: Medium

ID: 117388

File Name: struts_2_2_3.nasl

Version: 1.8

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 9/10/2018

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

CVSS Score Rationale: Cross-site scripting

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.6

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

CVSS Score Source: manual

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: cpe:/a:apache:struts

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/9/2011

Vulnerability Publication Date: 5/9/2011

Reference Information

CVE: CVE-2011-1772

BID: 47784