Disclosure Email Address Of Any Wordpress User Via Redacted Service
A WordPress-related service returned the MD5 hash of any WordPress user's email address when an administrator banned or authorised that user by username. An attacker could crack the hash to recover the email address of any WordPress user, even those not registered on the service.
Hello fellas, in this write-up, I’m gonna talk about disclosing email address of any WordPress user by using an another service within Wordpress company.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Any WordPress user's email address could be recovered by cracking the returned MD5 hash, even if the user never used the service; the report was closed as informative under programme policy.
What the attacker needed
A blog on the service; ability to ban or authorise users; a valid WordPress username
The fix
The service should stop returning the email hash in the ban/authorise response and only return the minimum data needed for the action.
How it was found
- Create a blog on the service and open the administration page for managing users.
- Obtain a valid WordPress username from a public profile, such as on WordPress.com/forums.
- Intercept the ban request sent for that username.
- Inspect the response to the ban request.
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 write-up has not been written yet. The Original tab links to the source.
When you ban or authorise someone on a blog, the service looks up that user by their WordPress username. Instead of just confirming the action, it also sent back a scrambled version of the user's email address (an MD5 hash). Because that scrambling is easy to reverse for common emails, anyone could learn the email address of any WordPress user.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.