CVE-2018-11776
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.996%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-16
CISA KEV
Listed
added 2021-11-03
Public exploit code
Yes
Exploit references (NVD and CNA): 5
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 3
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Struts Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Apache / Struts |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-06 |
Timeline
- 2018-08-22Published by the CNA13:00 UTC
- 2018-08-25First Exploit-DB entry (EDB-ID 45262)3 days after publication
- 2018-10-18GitHub advisory published (GHSA-cr6j-3jp9-rw65)57 days after publication
- 2021-11-03Added to the CISA KEV catalog1169 days after publication
- 2025-02-06CISA SSVC decision recorded2360 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 45367 | remote | multiple | 2018-09-10 | yes |
| EDB-ID 45260 | remote | linux | 2018-08-26 | no |
| EDB-ID 45262 | remote | multiple | 2018-08-25 | no |
Nuclei templates:
- CVE-2018-11776: Apache Struts2 S2-057 - Remote Code Execution
GitHub advisory GHSA-cr6j-3jp9-rw65, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| Maven | org.apache.struts:struts2-core | >= 2.0.4, < 2.3.35 | 2.3.35 |
| Maven | org.apache.struts:struts2-core | >= 2.5, < 2.5.17 | 2.5.17 |
Affected products
| Vendor | Product |
|---|---|
| apache | struts |
| netapp | active_iq_unified_manager |
| netapp | oncommand_insight |
| netapp | oncommand_workflow_automation |
| netapp | snapcenter |
| oracle | communications_policy_management |
| oracle | enterprise_manager_base_platform |
| oracle | mysql_enterprise_monitor |
References
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoC
- https://lgtm.com/blog/apache_struts_CVE-2018-11776
- https://www.exploit-db.com/exploits/45260/
- https://www.exploit-db.com/exploits/45262/
- https://www.exploit-db.com/exploits/45367/
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt
- http://www.securityfocus.com/bid/105125
- http://www.securitytracker.com/id/1041547
- http://www.securitytracker.com/id/1041888
- https://cwiki.apache.org/confluence/display/WW/S2-057
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
- https://security.netapp.com/advisory/ntap-20180822-0001/
- https://security.netapp.com/advisory/ntap-20181018-0002/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776
- https://www.oracle.com/security-alerts/cpujul2020.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-11776'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-11776'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-11776'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-11776'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2018-11776'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).