“There is no subdomain with no usage” How understanding this rule led to 5 Criticals
A bank's API subdomain exposed cached PII of logged-in users without access control, and also allowed unrestricted file upload, SSRF, and deletion of assets. An attacker could retrieve sensitive personal and financial data, upload files, and delete stored objects.
If you’re a details-hater go to the Outcome section at the end of this report.
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 missing access controls on the API endpoint and storage service, allowing unauthenticated access to cached PII and unrestricted file operations.
Impact
An attacker could access sensitive PII including card numbers and addresses, upload arbitrary files, delete stored assets, and use SSRF to bypass IP restrictions, potentially leading to further compromise.
What the attacker needed
Leaked credentials; 2FA bypass; knowledge of endpoint
How it was found
- Found a subdomain that returned 403 on all directories.
- Obtained leaked credentials and bypassed 2FA via response manipulation.
- Accessed an endpoint that returned cached PII without access control.
- Tested HTTP methods and found DELETE allowed, deleting an image.
- Sent a POST request with a URL parameter, achieving unrestricted file upload and SSRF.
- Used SSRF to access the PII endpoint from the server, bypassing IP restrictions.
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 bank had a hidden web address that stored copies of users' personal information, like card numbers and addresses, but didn't check who was asking for it. Anyone who found the address could read that data. The same server also let people upload files and delete things without permission.
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.