CVE-2018-11776Apache Struts
Remote Code Execution in Apache Struts
High 8.1 KEV No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 8.1
- EPSS
- 100.0% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Unknown
- Published
- Aug 22, 2018
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 are vulnerable to remote code execution when alwaysSelectFullNamespace is enabled and specific namespace configuration conditions are met. An unauthenticated attacker can execute arbitrary code on the server. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
Apache Struts contains a vulnerability that allows for remote code execution under two circumstances. One, where the alwaysSelectFullNamespace option is true and the value isn't set for a result defined in underlying configurations and in same time, its upper package configuration have no or wildcard namespace. Or, using URL tag which doesn't have value and action set and in same time, its upper package configuration have no or wildcard namespace.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 2.3.35, 2.5.17
Update Apache Struts to version 2.3.35 or 2.5.17 as applicable. Review alwaysSelectFullNamespace configuration and namespace settings in your applications.
- Apply the vendor's security update for Struts.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
— |
Per OSV / GitHub Advisories (GHSA-cr6j-3jp9-rw65). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.0.4 < 2.3.35 |
| apache | struts | ≥ 2.5.0 < 2.5.17 |
| netapp | active_iq_unified_manager | ≥ 7.3 |
| netapp | active_iq_unified_manager | ≥ 9.5 |
| netapp | oncommand_insight | all |
| netapp | oncommand_workflow_automation | all |
| netapp | snapcenter | all |
| oracle | communications_policy_management | < 12.5.0 |
| oracle | enterprise_manager_base_platform | 13.3.0.0 |
| oracle | enterprise_manager_base_platform | 13.4.0.0 |
| oracle | mysql_enterprise_monitor | ≤ 3.4.9.4237 |
| oracle | mysql_enterprise_monitor | ≥ 4.0.0 ≤ 4.0.6.5281 |
| oracle | mysql_enterprise_monitor | ≥ 8.0.0 ≤ 8.0.2.8191 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- www.arubanetworks.com Broken Link Mailing List Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- cwiki.apache.org Issue Tracking Third Party Advisory
- github.com Exploit Third Party Advisory
- lgtm.com Exploit Third Party Advisory
- lists.apache.org Mailing List
- psirt.global.sonicwall.com Third Party Advisory
- security.netapp.com Third Party Advisory
- security.netapp.com Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.oracle.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.cisa.gov US Government Resource