Improper input validation in Apache Struts - CVE-2018-11776

 

Improper input validation in Apache Struts - CVE-2018-11776

Published: August 22, 2018 / Updated: February 20, 2022


Vulnerability identifier: #VU14487
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2018-11776
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Apache Foundation
Affected software:
Apache Struts

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insufficient input validation in cases where namespace value isn't set for a result defined in underlying xml configurations and in same time, its upper action(s) configurations have no or wildcard namespace, or when using url tag which doesn’t have value and action set and in same time, its upper action(s) configurations have no or wildcard namespace.

A remote unauthenticated attacker can compromise the affected system.


How to mitigate CVE-2018-11776

Update to version 2.5.17 or 2.3.35.

Sources