{"id":"CVE-2017-8295","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-8295","generatedAt":"2026-10-28T21:17:07.002Z","title":"WordPress through 4.7.4 relies on the Host HTTP header for a password-reset e-mail message, which makes it easier for remote attackers to reset arbitrary passwords by making a crafted wp-login.php?action=lostpassword request and then arranging for this…","description":"WordPress through 4.7.4 relies on the Host HTTP header for a password-reset e-mail message, which makes it easier for remote attackers to reset arbitrary passwords by making a crafted wp-login.php?action=lostpassword request and then arranging for this message to bounce or be resent, leading to transmission of the reset key to a mailbox on an attacker-controlled SMTP server. This is related to problematic use of the SERVER_NAME variable in wp-includes/pluggable.php in conjunction with the PHP mail function. Exploitation is not achievable in all cases because it requires at least one of the following: (1) the attacker can prevent the victim from receiving any e-mail messages for an extended period of time (such as 5 days), (2) the victim's e-mail system sends an autoresponse containing the original message, or (3) the victim manually composes a reply containing the original message.","published":"2017-05-04T14:29:00.000Z","lastModified":"2026-06-17T01:26:09.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-640"],"affected":["wordpress/wordpress"],"epss":{"score":0.26699,"percentile":0.98015,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.21276,"percentile":0.97537},{"date":"2026-09-22","score":0.26699,"percentile":0.97932}]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2017-05-03","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":41963,"kind":"exploit","title":"WordPress Core < 4.7.4 - Unauthorized Password Reset","url":"https://www.exploit-db.com/exploits/41963","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/41963.txt","file":"exploits/linux/webapps/41963.txt","published":"2017-05-03","added":"2017-05-04","updated":"2017-05-04","author":"Dawid Golunski","type":"webapps","platform":"linux","port":null,"verified":false,"codes":["CVE-2017-8295"],"tags":null,"aliases":null,"applicationUrl":"http://www.exploit-db.comWordPress-4.7.4.zip","screenshotUrl":null,"referenceUrl":"https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 26.7%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-09-22T00:00:00.000Z","detail":{"to":0.26699,"from":0.21276,"percentile":0.97932},"summary":"EPSS moved from 21.3% to 26.7% probability of exploitation in the next thirty days."}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3870","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/98295","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1038403","source":"cve@mitre.org"},{"url":"https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html","tags":["Exploit","Technical Description","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://wpvulndb.com/vulnerabilities/8807","source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/41963/","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2017/dsa-3870","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/98295","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1038403","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html","tags":["Exploit","Technical Description","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://wpvulndb.com/vulnerabilities/8807","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/41963/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-8295","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}