On this page
Atomicorp WAF Research Note: CVE-2018-11776
Apache Struts2 S2-057 - Remote Code Execution
CVE Details
- Already protected by existing Atomicorp WAF rules
- Protection status: Understanding Atomicorp WAF Protection Status
- CVE: CVE-2018-11776
- Name: Apache Struts2 S2-057 - Remote Code Execution
- Severity: High
- CVSS: 8.1 (v3.1) (High)
- CVSS version: 3.1
- CVSS source: NVD
- CVSS vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- CWE: N/A
- Vendor: apache
- Vulnerable products: struts , active iq unified manager , oncommand insight , oncommand workflow automation , snapcenter , communications policy management , enterprise manager base platform , mysql enterprise monitor
- CVE published: 2018-08-22
- CVE last modified: 2026-06-17
- Affected versions (NVD configurations):
- struts: >= 2.0.4, < 2.3.35
- struts: >= 2.5.0, < 2.5.17
- active iq unified manager: >= 7.3
- active iq unified manager: >= 9.5
- oncommand insight
- oncommand workflow automation
- snapcenter
- communications policy management: < 12.5.0
- enterprise manager base platform: 13.3.0.0
- enterprise manager base platform: 13.4.0.0
- mysql enterprise monitor: <= 3.4.9.4237
- mysql enterprise monitor: >= 4.0.0, <= 4.0.6.5281
- mysql enterprise monitor: >= 8.0.0, <= 8.0.2.8191
- EPSS: 0.9999; 100.0th percentile (FIRST (opens in a new tab) )
- CISA KEV: Listed (added 2021-11-03)
- Known ransomware campaign use: Unknown
- Latest Update: 2026-09-06
- Selected Rule IDs observed: 337209 , 337211 , 340193 , 347009
- Matching rules: 4; rules with blocking actions: 4
- Would-block Rule IDs: 337209 , 337211 , 340193 , 347009
- Request surfaces inspected: JSON request data, Request URI, Request arguments, SOAP request data, XML request data
Technical CPE data
This section lists vulnerable CPE matches retained from the NVD configurations. It supplements the readable affected-product information above.
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*- Version start (inclusive):
2.0.4 - Version end (exclusive):
2.3.35 - NVD match criteria ID:
688F84A7-B698-4343-9F7B-FD68B2218035
- Version start (inclusive):
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*- Version start (inclusive):
2.5.0 - Version end (exclusive):
2.5.17 - NVD match criteria ID:
0D66D46C-389B-4C37-9EEE-6301774719FA
- Version start (inclusive):
cpe:2.3:a:netapp:active_iq_unified_manager:*:*:*:*:*:windows:*:*- Version start (inclusive):
7.3 - NVD match criteria ID:
BD075607-09B7-493E-8611-66D041FFDA62
- Version start (inclusive):
cpe:2.3:a:netapp:active_iq_unified_manager:*:*:*:*:*:vmware_vsphere:*:*- Version start (inclusive):
9.5 - NVD match criteria ID:
0CB28AF5-5AF0-4475-A7B6-12E1795FFDCB
- Version start (inclusive):
cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*- NVD match criteria ID:
F1BE6C1F-2565-4E97-92AA-16563E5660A5
- NVD match criteria ID:
cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*- NVD match criteria ID:
5735E553-9731-4AAC-BCFF-989377F817B3
- NVD match criteria ID:
cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*- NVD match criteria ID:
BDFB1169-41A0-4A86-8E4F-FDA9730B1E94
- NVD match criteria ID:
cpe:2.3:a:oracle:communications_policy_management:*:*:*:*:*:*:*:*- Version end (exclusive):
12.5.0 - NVD match criteria ID:
0E8AF73E-8AC6-4F65-A6F0-DBB2CC7A613F
- Version end (exclusive):
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.3.0.0:*:*:*:*:*:*:*- NVD match criteria ID:
7582B307-3899-4BBB-B868-BC912A4D0109
- NVD match criteria ID:
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:*- NVD match criteria ID:
D26F3E23-F1A9-45E7-9E5F-0C0A24EE3783
- NVD match criteria ID:
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*- Version end (inclusive):
3.4.9.4237 - NVD match criteria ID:
8A94B32D-6B5F-4E42-8345-4F9126A89435
- Version end (inclusive):
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*- Version start (inclusive):
4.0.0 - Version end (inclusive):
4.0.6.5281 - NVD match criteria ID:
EF71D94F-EFC5-4390-A380-AC0E5DB05516
- Version start (inclusive):
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*- Version start (inclusive):
8.0.0 - Version end (inclusive):
8.0.2.8191 - NVD match criteria ID:
33EFAF19-A639-47AD-9CDC-D174C91F0F00
- Version start (inclusive):
Vulnerability 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.
Recommended Actions
Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (337209 , 337211 , 340193 , 347009 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.
Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.
- Affected versions: Apache Software Foundation Apache Struts version 2.3 to 2.3.34.
- Affected versions: Apache Software Foundation Apache Struts version 2.5 to 2.5.16.
- The CVE record does not include written upgrade or workaround instructions, but it does publish the following patch or mitigation reference:
- CISA KEV required action: Apply updates per vendor instructions.
- CISA KEV federal remediation due date: 2022-05-03
Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.
Research Notes
Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.
Public Vulnerability References
- NVD (opens in a new tab)
- CVE Record (opens in a new tab)
- Exploit or technical research: http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html (opens in a new tab)
- Exploit or technical research: http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt (opens in a new tab)
- Patch or mitigation: http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html (opens in a new tab)
- Patch or mitigation: http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html (opens in a new tab)
- Exploit or technical research: http://www.securityfocus.com/bid/105125 (opens in a new tab)
- Exploit or technical research: http://www.securitytracker.com/id/1041547 (opens in a new tab)
- Exploit or technical research: http://www.securitytracker.com/id/1041888 (opens in a new tab)
- Exploit or technical research: https://cwiki.apache.org/confluence/display/WW/S2-057 (opens in a new tab)
- Exploit or technical research: https://github.com/hook-s3c/CVE-2018-11776-Python-PoC (opens in a new tab)
- Exploit or technical research: https://lgtm.com/blog/apache_struts_CVE-2018-11776 (opens in a new tab)
- CVE authority reference: https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E (opens in a new tab)
- Exploit or technical research: https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012 (opens in a new tab)
- Exploit or technical research: https://security.netapp.com/advisory/ntap-20180822-0001/ (opens in a new tab)
- Exploit or technical research: https://security.netapp.com/advisory/ntap-20181018-0002/ (opens in a new tab)
- Exploit or technical research: https://www.exploit-db.com/exploits/45260/ (opens in a new tab)
- Exploit or technical research: https://www.exploit-db.com/exploits/45262/ (opens in a new tab)
- Exploit or technical research: https://www.exploit-db.com/exploits/45367/ (opens in a new tab)
- Exploit or technical research: https://www.oracle.com/security-alerts/cpujul2020.html (opens in a new tab)
- Patch or mitigation: https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html (opens in a new tab)
- CVE authority reference: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776 (opens in a new tab)
MITRE ATT&CK Context
The following mappings are published by the MITRE Center for Threat-Informed Defense and describe exploitation behavior or potential impact; they do not claim that a WAF rule implements the ATT&CK technique.
- Secondary Impact: T1496 — Resource Hijacking (opens in a new tab)
- Primary Impact: T1059 — Command and Scripting Interpreter (opens in a new tab)
- Exploitation Technique: T1190 — Exploit Public-Facing Application (opens in a new tab)
Test or Research Source
- Source: http/cves/2018/CVE-2018-11776.yaml (opens in a new tab)
- Tags: apache, cve, cve2018, kev, packetstorm, rce, struts, vkev, vuln
Research Note Context
This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.
Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.
Learn More
Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.
Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:
- Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
- Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
- Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
- Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
- Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.
For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .