Skip to content
Account takeover Disclosed report Intermediate CVE-2017-8295

Wordpress Vulnerable to Potential Unauthorized Password Reset

WordPress's password reset feature could allow an unauthenticated attacker to obtain a victim's password reset link in some cases, potentially leading to unauthorised account access. The issue affects versions up to 4.7.4 and a temporary workaround is suggested.

japz Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 3 months
  • Disclosed after 3 months

Hi Team,

Yesterday, a new 0day on wordpress core has been discovered by Dawid Golunski, so i want you guys to be aware of it to take an immediate action since nextcloud was using wordpress.

Wordpress has a password reset feature that contains a vulnerability which might in some cases allow attackers to get hold of the password reset link without previous authentication. Such attack could lead to an attacker gaining unauthorised access to a victim's WordPress account.

Affected WP version is up to the latest one 4.7.4 , so while waiting for the release of the new version that will fix the issue, you may want to apply a temporary solution, enable UseCanonicalName to enforce static SERVER_NAME value.

You can see the full details of the issue on this URL: https://exploitbox.io/vuln/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html

Regards Japz

The original report as published on HackerOne, by japz. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the password reset email is generated using a hostname derived from the request (such as the Host header) rather than a fixed server name, allowing an attacker to influence where the reset link points.

Impact

An attacker could gain unauthorised access to a victim's WordPress account, though the text says this might happen only in some cases.

What the attacker needed

WordPress up to version 4.7.4; victim uses password reset

The fix

A permanent fix was not available at the time; a temporary workaround is to enable UseCanonicalName to enforce a static SERVER_NAME value.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Under certain conditions, an attacker could get that link without logging in, which could lead to unauthorised access to the victim's account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by japz

View all

43 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.