Unauthorized Unsubscription and Message of Employee
An unsubscription page exposed employee email addresses from multiple companies and allowed anyone with the link to unsubscribe employees and send unauthorised messages as an employee. The page used a unique identifier that could not be enumerated.
infosecwriteups.com
Published on infosecwriteups.com
I hope my write-ups are easy to understand with helpful tips and learnings for you so that you can also get your bug using the same thing.
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
Root cause
Likely the unsubscription page lacked authentication and authorisation checks, relying only on a unique identifier in the URL to control access.
Impact
Employee email addresses from multiple companies were exposed, and an attacker could unsubscribe employees from mailing lists and send unauthorised messages as an employee.
What the attacker needed
Access to the unique link
How it was found
- Find a weird subdomain during recon.
- Open the subdomain and see a JSON response.
- Run directory enumeration but get no results.
- Use VirusTotal to find URLs for the subdomain.
- Open the URLs manually and find an unsubscription page with employee emails.
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.
A web page meant for employees to manage their mailing list subscriptions was publicly accessible. Anyone who found the link could see other people's email addresses, remove them from the list, and send messages pretending to be an employee. The link contained a long random code, so guessing other employees' links was not possible.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.