{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-9804","id":"CVE-2017-9804","title":"Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used","description":"In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.  NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.","descriptionLong":"In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.  NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.","published":"2017-09-20T17:00:00.000Z","updated":"2026-10-24T10:30:35.443552484Z","reserved":"2017-06-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Struts"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Struts","defaultStatus":null,"versions":[{"status":"affected","version":"2.3.7 - 2.3.33"},{"status":"affected","version":"2.5 - 2.5.12"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","purl":"pkg:maven/org.apache.struts/struts2-core","ranges":[">=2.3.7 <2.3.34",">=2.5.0 <2.5.13"],"fixed":["2.3.34","2.5.13"],"advisory":"GHSA-x5x7-3v85-wpc4"}],"cwes":["CWE-20"],"aliases":["GHSA-x5x7-3v85-wpc4"],"references":[{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2","tags":["vendor-advisory","x_refsource_CISCO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/100612","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20180629-0001/","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.securitytracker.com/id/1039261","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://struts.apache.org/docs/s2-050.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9804","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a","tags":["web"]},{"url":"https://github.com/apache/struts","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20180629-0001","tags":["web"]},{"url":"https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612","tags":["web"]},{"url":"https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.08237,"epssPercentile":0.95004,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-9804","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9804","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-9804","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x5x7-3v85-wpc4","ok":true,"note":"GHSA-x5x7-3v85-wpc4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-9804","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["struts"],"critical":[],"attention":null}