{"id":"CVE-2018-11776","aliases":["EUVD-2018-0582","GHSA-cr6j-3jp9-rw65"],"status":"published","title":"Apache Struts vulnerable to remote command execution (RCE) due to improper input validation","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.99996,"percentile":0.99989,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2018-08-22T13:00:00Z","modified":"2026-10-24T10:31:06Z","kev":{"date_added":"2021-11-03","due_date":"2022-05-03","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"exploitation":[{"source":"euvd","since":"2021-11-03"},{"source":"kev","since":"2021-11-03"}],"exploits":[{"source":"metasploit","id":"exploit/multi/http/struts2_namespace_ognl","title":"Apache Struts 2 Namespace Redirect OGNL Injection","type":"exploit","platform":"Linux,Unix,Windows","date":"2018-08-22","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/struts2_namespace_ognl"},{"source":"pocgithub","id":"xfox64x/CVE-2018-11776","title":"xfox64x/CVE-2018-11776","date":"2018-08-23","url":"https://github.com/xfox64x/CVE-2018-11776"},{"source":"pocgithub","id":"hook-s3c/CVE-2018-11776-Python-PoC","title":"hook-s3c/CVE-2018-11776-Python-PoC","date":"2018-08-24","url":"https://github.com/hook-s3c/CVE-2018-11776-Python-PoC"},{"source":"pocgithub","id":"jiguangsdf/CVE-2018-11776","title":"jiguangsdf/CVE-2018-11776","date":"2018-08-24","url":"https://github.com/jiguangsdf/CVE-2018-11776"},{"source":"exploitdb","id":"EDB-45262","title":"Apache Struts 2.3 \u003c 2.3.34 / 2.5 \u003c 2.5.16 - Remote Code Execution (2)","type":"remote","platform":"multiple","date":"2018-08-25","url":"https://www.exploit-db.com/exploits/45262"},{"source":"pocgithub","id":"bhdresh/CVE-2018-11776","title":"bhdresh/CVE-2018-11776","date":"2018-08-25","url":"https://github.com/bhdresh/CVE-2018-11776"},{"source":"pocgithub","id":"knqyf263/CVE-2018-11776","title":"knqyf263/CVE-2018-11776","date":"2018-08-25","url":"https://github.com/knqyf263/CVE-2018-11776"},{"source":"pocgithub","id":"mazen160/struts-pwn_CVE-2018-11776","title":"mazen160/struts-pwn_CVE-2018-11776","date":"2018-08-25","url":"https://github.com/mazen160/struts-pwn_CVE-2018-11776"},{"source":"exploitdb","id":"EDB-45260","title":"Apache Struts 2.3 \u003c 2.3.34 / 2.5 \u003c 2.5.16 - Remote Code Execution (1)","type":"remote","platform":"linux","date":"2018-08-26","url":"https://www.exploit-db.com/exploits/45260"},{"source":"pocgithub","id":"Ekultek/Strutter","title":"Ekultek/Strutter","date":"2018-08-27","url":"https://github.com/Ekultek/Strutter"},{"source":"pocgithub","id":"brianwrf/S2-057-CVE-2018-11776","title":"brianwrf/S2-057-CVE-2018-11776","date":"2018-08-28","url":"https://github.com/brianwrf/S2-057-CVE-2018-11776"},{"source":"pocgithub","id":"tuxotron/cve-2018-11776-docker","title":"tuxotron/cve-2018-11776-docker","date":"2018-08-28","url":"https://github.com/tuxotron/cve-2018-11776-docker"},{"source":"pocgithub","id":"649/Apache-Struts-Shodan-Exploit","title":"649/Apache-Struts-Shodan-Exploit","date":"2018-08-29","url":"https://github.com/649/Apache-Struts-Shodan-Exploit"},{"source":"exploitdb","id":"EDB-45367","title":"Apache Struts 2 - Namespace Redirect OGNL Injection (Metasploit)","type":"remote","platform":"multiple","date":"2018-09-10","verified":true,"url":"https://www.exploit-db.com/exploits/45367"},{"source":"pocgithub","id":"cved-sources/cve-2018-11776","title":"cved-sources/cve-2018-11776","date":"2019-01-06","url":"https://github.com/cved-sources/cve-2018-11776"},{"source":"pocgithub","id":"OzNetNerd/apche-struts-vuln-demo-cve-2018-11776","title":"OzNetNerd/apche-struts-vuln-demo-cve-2018-11776","date":"2019-06-24","url":"https://github.com/OzNetNerd/apche-struts-vuln-demo-cve-2018-11776"},{"source":"pocgithub","id":"cucadili/CVE-2018-11776","title":"cucadili/CVE-2018-11776","date":"2019-10-08","url":"https://github.com/cucadili/CVE-2018-11776"},{"source":"pocgithub","id":"arlyone/Apache-Struts-0Day-Exploit","title":"arlyone/Apache-Struts-0Day-Exploit","date":"2019-10-10","url":"https://github.com/arlyone/Apache-Struts-0Day-Exploit"},{"source":"pocgithub","id":"freshdemo/ApacheStruts-CVE-2018-11776","title":"freshdemo/ApacheStruts-CVE-2018-11776","date":"2020-06-12","url":"https://github.com/freshdemo/ApacheStruts-CVE-2018-11776"},{"source":"pocgithub","id":"sonpt-afk/CVE-2018-11776-FIS","title":"sonpt-afk/CVE-2018-11776-FIS","date":"2023-06-21","url":"https://github.com/sonpt-afk/CVE-2018-11776-FIS"},{"source":"pocgithub","id":"m4sk0ff/CVE-2018-11776","title":"m4sk0ff/CVE-2018-11776","date":"2025-09-09","url":"https://github.com/m4sk0ff/CVE-2018-11776"},{"source":"nuclei","id":"CVE-2018-11776","title":"Apache Struts2 S2-057 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11776.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-core","fixed_in":["2.3.35","2.5.17"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.4"},{"last_affected":"2.3.34"},{"fixed":"2.3.35"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5"},{"last_affected":"2.5.16"},{"fixed":"2.5.17"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"apache","product":"struts"},{"vendor":"apache software foundation","product":"apache struts"},{"vendor":"netapp","product":"active_iq_unified_manager"},{"vendor":"netapp","product":"oncommand_insight"},{"vendor":"netapp","product":"oncommand_workflow_automation"},{"vendor":"netapp","product":"snapcenter"},{"vendor":"oracle","product":"communications_policy_management"},{"vendor":"oracle","product":"enterprise_manager_base_platform"},{"vendor":"oracle","product":"mysql_enterprise_monitor"}],"references":[{"url":"http://www.securitytracker.com/id/1041888","tags":["vdb-entry","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/45367/","tags":["exploit","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/45262/","tags":["exploit","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.securityfocus.com/bid/105125","tags":["vdb-entry","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.securitytracker.com/id/1041547","tags":["vdb-entry","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/45260/","tags":["exploit","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_transferred","Mailing List","article","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20181018-0002/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://cwiki.apache.org/confluence/display/WW/S2-057","tags":["x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://lgtm.com/blog/apache_struts_CVE-2018-11776","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://security.netapp.com/advisory/ntap-20180822-0001/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt","tags":["x_transferred","Broken Link","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hook-s3c/CVE-2018-11776-Python-PoC","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html","tags":["x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11776","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e","tags":["web"]},{"url":"https://web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125","tags":["web"]},{"url":"https://web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888","tags":["web"]},{"url":"https://web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/45367","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/45262","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/45260","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20181018-0002","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20180822-0001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cr6j-3jp9-rw65"},{"url":"https://github.com/apache/struts","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-11776","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.","status":"published","published":"2018-08-22T13:00:00Z","modified":"2025-10-21T23:45:48.386Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:35:09.570381Z"}],"euvd":[{"id":"EUVD-2018-0582","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.","status":"published","published":"2018-08-22T13:00:00Z","modified":"2025-10-21T23:45:48Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"exploited_since":"2021-11-03","updated_at":"2026-11-02T20:31:24.172282Z"}],"ghsa":[{"id":"GHSA-cr6j-3jp9-rw65","title":"Apache Struts vulnerable to remote command execution (RCE) due to improper input validation","description":"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.","status":"published","published":"2018-10-18T19:24:38Z","modified":"2025-10-22T17:29:42Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:39:02.474737Z"}],"kev":[{"id":"CVE-2018-11776","title":"Apache Struts Remote Code Execution Vulnerability","description":"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.","cwes":["CWE-20"],"kev":{"date_added":"2021-11-03","due_date":"2022-05-03","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"updated_at":"2026-11-02T17:00:17.050017Z"}],"nvd":[{"id":"CVE-2018-11776","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.","status":"published","published":"2018-08-22T13:29:00.753Z","modified":"2026-06-17T01:36:34.35Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:04:36.842579Z"}],"osv":[{"id":"CVE-2018-11776","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.","status":"published","published":"2018-08-22T13:29:00.753Z","modified":"2026-10-24T10:31:06.114718665Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"GHSA-cr6j-3jp9-rw65","title":"Apache Struts vulnerable to remote command execution (RCE) due to improper input validation","description":"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.","status":"published","published":"2018-10-18T19:24:38Z","modified":"2025-10-22T19:26:43.207029Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
