CVE-2017-8295
mediumpriority · track · 43EPSS 0.267 · 98 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- EDB-41963WordPress Core < 4.7.4 - Unauthorized Password ResetPoC · exploit_db
- cyberheartmi9/CVE-2017-8295cyberheartmi9/CVE-2017-8295PoC · poc_in_github
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.htmlcnnvd
- https://www.exploit-db.com/exploits/41963/cnnvd
- http://www.debian.org/security/2017/dsa-3870enisa_euvd
- http://www.securityfocus.com/bid/98295enisa_euvd
- http://www.securitytracker.com/id/1038403enisa_euvd
- https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.htmlenisa_euvd
- https://wpvulndb.com/vulnerabilities/8807enisa_euvd
- https://www.exploit-db.com/exploits/41963/enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan