{"id":"CVE-2017-8295","published":"2017-05-04T14:00:00Z","modified":"2024-08-05T16:34:21Z","title":"WordPress through 4.7.4 relies on the Host HTTP header for a password-reset e-mail message, which makes it easier for…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"WordPress through version 4.7.4 relies on the Host HTTP header to build the password-reset e-mail message, using the SERVER_NAME variable in wp-includes/pluggable.php alongside the PHP mail function. An attacker can send a crafted wp-login.php?action=lostpassword request and then cause that message to bounce or be resent, sending the reset key to a mailbox on an attacker-controlled SMTP server, though this only works if the victim cannot receive e-mail for an extended period, their mail system auto-replies with the original message, or they manually reply with the original message included.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-09T16:57:51Z"},"cvss":null,"epss":{"score":0.26699,"percentile":0.98037,"date":"2026-11-09","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-01-26","exploitedFirstSeen":"2022-01-26","ransomware":false,"evidence":[{"url":"https://www.ic3.gov/Media/News/2022/220126.pdf","date":"2022-01-26"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/41963/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html","tags":["x_refsource_MISC"]},{"url":"http://www.debian.org/security/2017/dsa-3870","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securitytracker.com/id/1038403","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/98295","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://wpvulndb.com/vulnerabilities/8807","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-17257","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-17257","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":41963,"url":"https://www.exploit-db.com/exploits/41963","title":"WordPress Core < 4.7.4 - Unauthorized Password Reset","type":"webapps","platform":"linux","date":"2017-05-03","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-05-03"},"pocGithub":{"count":2,"skipped":1,"earliest":"2017-05-05","earliestUrl":"https://github.com/alash3al/wp-allowed-hosts","repos":[{"name":"cyberheartmi9/CVE-2017-8295","url":"https://github.com/cyberheartmi9/CVE-2017-8295","stars":20,"created":"2017-05-06"},{"name":"alash3al/wp-allowed-hosts","url":"https://github.com/alash3al/wp-allowed-hosts","stars":2,"created":"2017-05-05"}]},"first":{"date":"2017-05-03","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41963"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/41963/"],"flow":[],"timeline":[{"date":"2017-05-03","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-41963); later: PoC-in-GitHub 2017-05-05","url":"https://www.exploit-db.com/exploits/41963","provenance":"source"},{"date":"2017-05-04","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-8295","provenance":"source"},{"date":"2022-01-26","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.ic3.gov/Media/News/2022/220126.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":59.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1748 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.61,"detail":"percentile 0.9804"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}