{"id":"GHSA-cr6j-3jp9-rw65","summary":"Apache Struts vulnerable to remote command execution (RCE) due to improper input validation","details":"Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set,  and it's upper actions have no or wildcard namespace.","aliases":["CVE-2018-11776"],"modified":"2025-10-22T17:59:45.139322Z","published":"2018-10-18T19:24:38Z","database_specific":{"nvd_published_at":"2018-08-22T13:29:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:32:43Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11776"},{"type":"WEB","url":"https://github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e"},{"type":"WEB","url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/45367"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/45262"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/45260"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776"},{"type":"WEB","url":"https://web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547"},{"type":"WEB","url":"https://web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888"},{"type":"WEB","url":"https://web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20181018-0002"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20180822-0001"},{"type":"WEB","url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E"},{"type":"WEB","url":"https://lgtm.com/blog/apache_struts_CVE-2018-11776"},{"type":"WEB","url":"https://github.com/hook-s3c/CVE-2018-11776-Python-PoC"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://cwiki.apache.org/confluence/display/WW/S2-057"},{"type":"WEB","url":"http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html"},{"type":"WEB","url":"http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/105125"},{"type":"WEB","url":"http://www.securitytracker.com/id/1041547"},{"type":"WEB","url":"http://www.securitytracker.com/id/1041888"}],"affected":[{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.4"},{"fixed":"2.3.35"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3","2.2.3.1","2.3.1","2.3.1.1","2.3.1.2","2.3.12","2.3.14","2.3.14.1","2.3.14.2","2.3.14.3","2.3.15","2.3.15.1","2.3.15.2","2.3.15.3","2.3.16","2.3.16.1","2.3.16.2","2.3.16.3","2.3.20","2.3.20.1","2.3.20.3","2.3.24","2.3.24.1","2.3.24.3","2.3.28","2.3.28.1","2.3.29","2.3.3","2.3.30","2.3.31","2.3.32","2.3.33","2.3.34","2.3.4","2.3.4.1","2.3.7","2.3.8"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.3.34","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-cr6j-3jp9-rw65/GHSA-cr6j-3jp9-rw65.json"}},{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5"},{"fixed":"2.5.17"}]}],"versions":["2.5","2.5.1","2.5.10","2.5.10.1","2.5.12","2.5.13","2.5.14","2.5.14.1","2.5.16","2.5.2","2.5.5","2.5.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-cr6j-3jp9-rw65/GHSA-cr6j-3jp9-rw65.json","last_known_affected_version_range":"\u003c= 2.5.16"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"}]}