CVE-2018-11776: Apache Struts 2 namespace OGNL injection (S2-057)
- Vendors
- NetAppOracle CorporationApache Software Foundation
CVE-2018-11776 is a namespace-handling OGNL injection vulnerability in Apache Struts 2 that permits unauthenticated remote code execution under specific configurations. Insufficient validation allows attacker-controlled request-path input to reach OGNL expression evaluation. Exploitation requires alwaysSelectFullNamespace to be true, whether explicitly configured or enabled by a plugin such as the Convention Plugin. Vulnerable configurations use results without an explicit namespace beneath a package with no namespace or a wildcard namespace, or URL tags with neither value nor action set under equivalent package namespace conditions. Affected versions include 2.3 through 2.3.34 and 2.5 through 2.5.16; additional affected-version information extends the earlier range to 2.0.4.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables arbitrary code execution in the application context and may result in full compromise of the affected server. Demonstrated exploitation includes reading server-local files and returning command output through an HTTP redirect header. Exploitation has also been associated with deployment of Coinbitminer and XMRigCC cryptocurrency-mining payloads.
Mitigation
If you can’t patch tonight, do this now.
As a temporary workaround, configure explicit namespaces for all defined packages and results, and ensure all JSP URL tags specify a value or action, particularly when the enclosing package has no namespace or a wildcard namespace. This is a weak configuration-based workaround; upgrading is strongly recommended.
Remediation
Patch, then assume compromise.
Upgrade Apache Struts 2.3.x deployments to 2.3.35 or later and 2.5.x deployments to 2.5.17 or later. Patch even applications whose current configuration does not expose the vulnerability, because subsequent configuration changes can introduce exposure. For affected MiCloud Telepo deployments, upgrade to version 4.6 or later, or apply the Mitel-provided patch for version 4.5 Patch 10 (4.5.13081) and earlier.
Exploits
9 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-11776 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2018-11776?
- Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2018-11776, the earliest disclosed Aug 22, 2018.
- Is there a patch for CVE-2018-11776?
- Upgrade Apache Struts 2.3.x deployments to 2.3.35 or later and 2.5.x deployments to 2.5.17 or later. Patch even applications whose current configuration does not expose the vulnerability, because subsequent configuration changes can introduce exposure.
- What products are affected by CVE-2018-11776?
- Apache Software Foundation Struts, NetApp Activeiq Unified Manager, Oracle Corporation Communications Policy Management, Oracle Corporation Enterprise Manager Base Platform, Oracle Corporation Mysql Enterprise Monitor, and 3 more.
- How severe is CVE-2018-11776?
- CVE-2018-11776 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 100.0% (100th percentile) as of Oct 16, 2026.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.