CVE-2018-11776
CONFIRMED EXPLOITEDApache Struts Remote Code Execution Vulnerability
Is Apache Struts affected by CVE-2018-11776?
Apache Struts is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2018-11776, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (13 vulnerable CPE entries): apache struts, netapp active_iq_unified_manager, netapp oncommand_insight, netapp oncommand_workflow_automation, netapp snapcenter and oracle communications_policy_management and 2 further CPE product entries.
Published CPE version bounds mark releases below 12.5.0 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-05-03.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2016-3081Same productApache Struts
Apache Struts Command Injection Vulnerability
- CVE-2013-2251Same productApache Struts
Apache Struts Improper Input Validation Vulnerability
- CVE-2020-17530Same productApache Struts
Apache Struts Remote Code Execution Vulnerability
- CVE-2017-9805Same productApache Struts
Apache Struts Deserialization of Untrusted Data Vulnerability
- CVE-2018-0802Neighboring entryMicrosoft Office
Microsoft Office Memory Corruption Vulnerability
- CVE-2018-13379Neighboring entryFortinet FortiOS
Fortinet FortiOS SSL VPN Path Traversal Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Struts has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Apache Struts): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Apache Struts and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.htmlThird Party AdvisoryVDB Entry
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txtBroken LinkMailing ListThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.htmlPatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlPatchThird Party Advisory
- http://www.securityfocus.com/bid/105125Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041547Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041888Broken LinkThird Party AdvisoryVDB Entry
- https://cwiki.apache.org/confluence/display/WW/S2-057Issue TrackingThird Party Advisory
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoCExploitThird Party Advisory
- https://lgtm.com/blog/apache_struts_CVE-2018-11776ExploitThird Party Advisory
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3EMailing List
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180822-0001/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20181018-0002/Third Party Advisory
- https://www.exploit-db.com/exploits/45260/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45262/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45367/ExploitThird Party AdvisoryVDB Entry
- https://www.oracle.com/security-alerts/cpujul2020.htmlThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlPatchThird Party Advisory
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.htmlThird Party AdvisoryVDB Entry
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txtBroken LinkMailing ListThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.htmlPatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlPatchThird Party Advisory
- http://www.securityfocus.com/bid/105125Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041547Broken LinkThird Party AdvisoryVDB Entry
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine