CVE-2018-11776
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…
- 8.1HighCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 3 Nov 2021
- 5Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache Struts Remote Code Execution Vulnerability.
- Added
- 3 Nov 2021
- Fix due (US federal)
- 3 May 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 3 Nov 2021.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 3 Exploit-DB entries for it. 3 references of the record are tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits8
Metasploit modules1 module
- Apache Struts 2 Namespace Redirect OGNL Injection (Metasploit module) (opens in a new tab)
exploit/multi/http/struts2_namespace_ognlRank excellentdisclosed 22 Aug 2018
Nuclei templates1 template
- Apache Struts2 S2-057 - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2018/CVE-2018-11776.yamlSeverity high
Exploit-DB3 entries
- Apache Struts 2 - Namespace Redirect OGNL Injection (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45367remote, multiplepublished 10 Sept 2018Verified
- Apache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45260remote, linuxpublished 26 Aug 2018Not verified
- Apache Struts 2.3 < 2.3.34 / 2.5 < 2.5.16 - Remote Code Execution (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45262remote, multiplepublished 25 Aug 2018Not verified
References tagged exploit3 references
- 45367 (opens in a new tab)exploitx_transferred
- 45262 (opens in a new tab)exploitx_transferred
- 45260 (opens in a new tab)exploitx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
Apache Software Foundation · Apache Struts
- affected 2.3 to 2.3.34
- affected 2.5 to 2.5.16
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.struts:struts2-coreGHSA-cr6j-3jp9-rw65 (opens in a new tab)
References
References20
- 1041888 (opens in a new tab)vdb-entryx_transferred
- 45367 (opens in a new tab)exploitx_transferred
- 45262 (opens in a new tab)exploitx_transferred
- 105125 (opens in a new tab)vdb-entryx_transferred
- 1041547 (opens in a new tab)vdb-entryx_transferred
- 45260 (opens in a new tab)exploitx_transferred
- [announce] 20200131 Apache Software Foundation Security Report: 2019 (opens in a new tab)mailing-listx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujul2020.html (opens in a new tab)x_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20181018-0002/ (opens in a new tab)x_transferred
- https://cwiki.apache.org/confluence/display/WW/S2-057 (opens in a new tab)x_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012 (opens in a new tab)x_transferred
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html (opens in a new tab)x_transferred
- https://lgtm.com/blog/apache_struts_CVE-2018-11776 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20180822-0001/ (opens in a new tab)x_transferred
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt (opens in a new tab)x_transferred
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoC (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0582 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cr6j-3jp9-rw65 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-11776)Record last updated .