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.
In short
CVE-2018-11776 (Apache Struts Remote Code Execution) has a CVSS 3.1 base score of 8.1, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 3 Nov 2021. Fixed in Apache Struts 2.3.35, Oracle Communications Policy Management 12.5.0 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Apache Struts≥ 2.0.4 < 2.3.35 · ≥ 2.5.0 < 2.5.17
- Netapp Active Iq Unified Manager≥ 9.5 · ≥ 7.3
- Netapp Oncommand Insightall versions
- Netapp Oncommand Workflow Automationall versions
- Netapp Snapcenterall versions
- Oracle Communications Policy Management< 12.5.0
- Oracle Enterprise Manager Base Platform13.3.0.0 · 13.4.0.0
- Oracle Mysql Enterprise Monitor≥ 4.0.0 ≤ 4.0.6.5281 · ≥ 8.0.0 ≤ 8.0.2.8191 · ≤ 3.4.9.4237
Remediation
Fixed in- Apache Struts≥ 2.3.35
- Oracle Communications Policy Management≥ 12.5.0
References
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html
- https://cwiki.apache.org/confluence/display/WW/S2-057
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoC
- https://lgtm.com/blog/apache_struts_CVE-2018-11776
- 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.exploit-db.com/exploits/45260/
and 10 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
