Skip to content
Access control Write-up Intermediate

“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.

kalawy Follow

Published on kalawy.medium.com

If you’re a details-hater go to the Outcome section at the end of this report.

Kalawy, on kalawy.medium.com

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

  1. Found a subdomain that returned 403 on all directories.
  2. Obtained leaked credentials and bypassed 2FA via response manipulation.
  3. Accessed an endpoint that returned cached PII without access control.
  4. Tested HTTP methods and found DELETE allowed, deleting an image.
  5. Sent a POST request with a URL parameter, achieving unrestricted file upload and SSRF.
  6. 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.

More by kalawy

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.