CVE-2018-11776: Apache Struts vulnerable to remote command execution (RCE) due to improper input validation
CVE-2018-11776 · Severity: critical · CVSS 3 · Exploited in the wild · Published 2018-10-18
Apache Struts is vulnerable to Remote Code Execution (RCE) when the alwaysSelectFullNamespace option is enabled. The flaw occurs when results or URL tags are used without a defined namespace while the upper package configuration uses no namespace or a wildcard namespace, allowing for malicious OGNL expression evaluation.
Yes. org.apache.struts:struts2-core (Maven): upgrade to 2.3.35 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2018-11776 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2018-11776?
Check whether you run Apache Struts or org.apache.struts:struts2-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.struts:struts2-core (Maven): upgrade to 2.3.35 or later
# set org.apache.struts:struts2-core to 2.3.35 in your pom.xml or build.gradle
Affected products
Apache Struts 2.3 to 2.3.34, 2.5 to 2.5.16
Identifiers
CVE-2018-11776
GHSA-cr6j-3jp9-rw65
Timeline
2021-11-03: kev added: Added to CISA Known Exploited Vulnerabilities Catalog