Wordpress Core < 5.5 - Unauthorized Password Reset via Interception
Strategic Overview
- Status
- Patched in 5.5
- Affected Core
- WordPress 5.5
- Affected Version
< 5.5- CVSS
- 5.9Medium
- Weakness type
- CWE-640 · Weak Password Recovery Mechanism for Forgotten Password
- CVE
CVE-2017-8295
At a glance
CVE-2017-8295 is a medium-severity Weak Password Recovery Mechanism for Forgotten Password vulnerability in the WordPress 5.5 WordPress release line, affecting < 5.5. It carries a CVSS score of 5.9 (reachable over the network; high integrity impact). Exploitation requires no authentication. The issue is fixed in version 5.5; sites on affected versions should update now. Disclosed May 2017, reported by Dawid Golunski.
Vulnerability Overview
WordPress up to version 5.5 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.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on integrity.
CWE-640: Weak Password Recovery Mechanism for Forgotten Password
Reaching this weakness in WordPress 5.5 < 5.5 takes a caller who can reach the endpoint. A weak password recovery mechanism means the path that lets someone back into an account without their password is easier to complete than the password itself.
An attacker takes over an account through the recovery flow without ever seeing the password, and on an administrator account that is full control of the site. For WordPress 5.5 the fix is 5.5: builds < 5.5 are affected, anything from 5.5 onward is not.
Remediation
Update to version 5.5, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: updating to 5.5 is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in WordPress 5.5
- 9.8CVE-2026-63030: WordPress Core 6.9 - 7.0.1 Remote Code Execution
CVE-2026-63030 - 9.8CVE-2024-31211: WordPress Core 6.4.0 - 6.4.1 RCE POP Chain
CVE-2024-31211 - 9.8WordPress Core < 6.0.3 SQL Injection via WP_Date_Query
- 9.8CVE-2021-29476: WordPress Core < 5.5.3 PHP Object Injection Gadget
CVE-2021-29476 - 9.8CVE-2017-16510: WordPress Core SQL Injection
CVE-2017-16510 - 9.8CVE-2017-14723: WordPress Core < 4.8.2 SQL Injection
CVE-2017-14723 - 9.8CVE-2007-6013: WordPress Core 1.5 - 2.3.1 Authorization Bypass
CVE-2007-6013 - 9.8CVE-2007-6318: WordPress Core < 2.3.2 SQL Injection
CVE-2007-6318
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C