Exploited vulnerabilities · Apache
CVE-2018-11776
Apache Struts Remote Code Execution Vulnerability
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.
Description in the NVD
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.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether Apache Struts runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- nvd.nist.gov/vuln/detail/CVE-2018-11776
- cwiki.apache.org/confluence/display/WW/S2-057
- github.com/hook-s3c/CVE-2018-11776-Python-PoC
- lgtm.com/blog/apache_struts_CVE-2018-11776
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3C
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
- www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- nvd.nist.gov/vuln/detail/CVE-2018-11776
More exploited vulnerabilities in Apache products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.