Unauthorized Access to Sensitive PII via Broken Access Control
Sensitive user documents such as personal photos, signatures and mobile numbers were stored so that anyone could fetch them without logging in. An attacker could collect this personal data and use it for identity theft, fraud or social engineering.
Published on ajay-vardhan01.medium.com
While reviewing an application from a security perspective, I came across something that immediately raised concern sensitive personal data was accessible without any authentication.
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 files were stored in a publicly readable location and the application never checked whether the requester was authenticated or authorised.
Impact
Exposed identity documents could enable identity theft, financial fraud and social engineering against the affected users.
What the attacker needed
No account needed; know or guess the file location
The fix
Sensitive files should be kept private and served only after the application checks that the requester is logged in and allowed to see that specific file.
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.
Some files that belonged to users were kept in a place that anyone on the internet could open, with no login needed. A person only had to know or guess the address of a file to see it. This is called broken access control: the app does not check whether the person asking is allowed to see the file.
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.