{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-11776","id":"CVE-2018-11776","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 ","descriptionLong":"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.","published":"2018-08-22T13:00:00.000Z","updated":"2026-10-24T10:31:06.114718665Z","reserved":"2018-06-05T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"CISA-ADP"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":null,"versions":[{"version":"2.3 to 2.3.34","status":"affected"},{"version":"2.5 to 2.5.16","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":[">=2.0.4 <2.3.35",">=2.5 <2.5.17"],"fixed":["2.3.35","2.5.17"],"advisory":"GHSA-cr6j-3jp9-rw65"}],"cwes":["CWE-20"],"aliases":["GHSA-cr6j-3jp9-rw65"],"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://github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e","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://web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547","tags":["web"]},{"url":"https://web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888","tags":["web"]},{"url":"https://web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125","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://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2021-11-03","kevDue":"2022-05-03","kevEntry":{"cveID":"CVE-2018-11776","vendorProject":"Apache","product":"Struts","vulnerabilityName":"Apache Struts Remote Code Execution Vulnerability","dateAdded":"2021-11-03","shortDescription":"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.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2018-11776","cwes":["CWE-20"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.99996,"epssPercentile":0.99989,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-11776","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11776","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-11776","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cr6j-3jp9-rw65","ok":true,"note":"GHSA-cr6j-3jp9-rw65"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2021-11-03"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-11776","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["struts"],"critical":["Exploited in the wild (CISA KEV)","EPSS 100% with CVSS 8.1"],"attention":null}