How i Found Information Disclosure on Scribd.com
A private document on Scribd could be downloaded without authorisation by sending a POST request to a download endpoint with the document's ID. An attacker could use a cross-site request forgery to obtain the password for a private document.
hi, this is my first write up on medium.com. 11 days ago i found a vulnerability on scribd.com when i finding an answer of my homework ( I was lazy at that time).
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 download request endpoint did not check whether the requester was authorised to access the private document, and it also lacked CSRF protection.
Impact
An attacker could obtain the password and access private documents without authorisation, though the report does not state whether this affected all private documents or only some.
What the attacker needed
A Scribd account; victim has a private document; attacker knows the document ID
How it was found
- Create a document and set it to private with a password.
- Intercept the download button request to see the POST endpoint.
- Create a second account and build a CSRF page that submits the document ID to that endpoint.
- Load the CSRF page and observe that the password for the private document is returned.
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 private document is meant to be visible only to people who have its password. The researcher found that a simple web request could fetch the document anyway, and that a malicious page could make a logged-in user's browser send that request without them knowing. This is called cross-site request forgery (CSRF): a trick that makes your browser perform an action you did not intend.
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.