CVEfocus › CVE database › CVE-2017-8295

CVE-2017-8295

CVSS 5.9 MediumEPSS 32.3% (higher than 98% of CVEs)Published 2017-05-04Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 32% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 25.10wordpressNot affected
vulnerable_code_not_present
Ubuntu 24.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 22.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 20.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 18.04wordpressNot affected
vulnerable_code_not_present
Ubuntu 16.04wordpressFix pendingUBUNTU-CVE-2017-8295
Ubuntu 14.04wordpressFix pending
Debian 14wordpressFixed4.7.5+dfsg-2DEBIAN-CVE-2017-8295
Debian 13wordpressFixed4.7.5+dfsg-2DEBIAN-CVE-2017-8295
Debian 12wordpressFixed4.7.5+dfsg-2DEBIAN-CVE-2017-8295

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.