Apache Struts Remote Code Execution Vulnerability
Exploited since 2021-11-03. 2 of 8 rule sources name it. Our CRS test: blocked.
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and… More
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.
Edge coverage
Claimed by vendorsAsk Vigil
AI · answers from this pageWorkers AI (Llama 3.3). Can be wrong: check the cited source.
Severity, decoded
CVSS 3.1Exploitable over the network under specific conditions, with no privileges and no user interaction, leading to full loss of confidentiality, integrity and availability.
How the score is built
- Attack vectorAn attacker can reach it over the internet; no access to your network needed.Network
- Attack complexityThe attack only works when conditions outside the attacker's control line up.High
- Privileges requiredNo account or login is needed.None
- User interactionNo one has to click or open anything; the attack works on its own.None
- ScopeThe damage stays within the vulnerable component.Unchanged
- Confidentiality impactAn attacker can read all data the affected component holds, or the most sensitive parts of it.High
- Integrity impactAn attacker can change any data or files the affected component protects.High
- Availability impactAn attacker can take the component down completely or keep it from serving anyone.High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAttackers are exploiting this in the wild.
At least one step needs hands-on work, which slows mass attacks.
A successful attack gives full control over the affected software or all of its data.
Public exploits
5 found- MetasploitApache Struts 2 Namespace Redirect OGNL Injection2018-08-22 · exploit · rank Excellent · has check
- Exploit-DBApache Struts 2 - Namespace Redirect OGNL Injection (Metasploit)2018-09-10 · remote · multiple · verified
- Exploit-DBApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (1)2018-08-26 · remote · linux
- Exploit-DBApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2)2018-08-25 · remote · multiple
- NucleiCVE-2018-11776.yamldetection template, replayed in our lab
Links are to third-party code: never run it outside an isolated lab.
Timeline
- 2018-08-22CVE publishedCVE List
- 2018-08-22Metasploit module publishedApache Struts 2 Namespace Redirect OGNL Injection
- 2018-08-25Exploit published on Exploit-DBApache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2)
- 2019-09-24OWASP CRS ships a ruleAdd CVE-2018-11776 to comments of 933160 and 933161 (Franziska Bühler)
- 2021-11-03Added to CISA KEVConfirmed exploitation in the wild
- 2023-02-14F5 rule names itEarliest entry we can see is an update
- 2026-11-02Our test: OWASP Core Rule Set blocked itparanoia level 1, anomaly threshold 5, default CRS settings
- 2026-11-02Our test: OWASP Core Rule Set blocked itparanoia level 2, anomaly threshold 5, default CRS settings
Vendor statements
QuotedCloudflareWAF Managed Rules
The CVE predates the oldest entry in this vendor's public feed, so a rule may exist that we cannot see.
AWSAWS WAF Managed Rules
The CVE predates the oldest entry in this vendor's public feed, so a rule may exist that we cannot see.
Microsoft AzureFront Door and Application Gateway WAF (DRS)
We found no public statement from this vendor naming this CVE. That is not proof of no protection: generic rules may still catch it. The rule tables name CVEs but carry no dates, so Azure is left out of every time-to-rule figure.
Google CloudCloud Armor preconfigured WAF rules
The CVE predates the oldest entry in this vendor's public feed, so a rule may exist that we cannot see.
FastlyNext-Gen WAF virtual patches
The CVE predates the oldest entry in this vendor's public feed, so a rule may exist that we cannot see.
F5Attack signatures (Distributed Cloud WAF)
Named by 2023-02-14; the first entry is an update, so the rule may be older.
Updated: signature 200004474 "JSP Expression Language Expression Injection (3) (URI)" (Server Side Code Injection, risk High), systems: Java Servlets/JSP, Apache Struts. References: CVE-2018-11776.
AkamaiApp & API Protector (Adaptive Security Engine)
This vendor publishes no machine-readable rule changelog we can check.
OWASP CRSCore Rule Set (open source, used inside many WAFs)
First rule 2019-09-24, 398 days after the CVE was published.
Add CVE-2018-11776 to comments of 933160 and 933161 (Franziska Bühler)
Social
No posts seen yet on X, Bluesky, Mastodon, Hacker News or GitHub.