Easy Hacking with Google Dorking — Finding NASA High P2 Vulnerability
A publicly accessible spreadsheet document belonging to NASA was configured so that anyone with the link could edit it. An attacker who found the link could create, read, update and delete internal content and view or change editor roles.
One day, I decided to try Google Dorking out of curiosity, and I accidentally discovered a High P2 bug in NASA! Simply by typing a few specific keywords into Google, I was instantly met with shocking results.
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 spreadsheet's sharing permission was set to 'anyone with the link can edit' instead of being restricted to authorised users.
Impact
An attacker could perform create, read, update and delete operations on internal content and view or change editor roles, as the document was publicly editable.
What the attacker needed
The document link is publicly discoverable; no authentication required
How it was found
- Use a search engine query to find publicly accessible spreadsheet documents mentioning NASA.
- Explore the results to locate a NASA spreadsheet document.
- Open the document and observe that anyone with the link can edit it.
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 online documents can be shared with a setting that lets anyone who has the link make changes. If that link is easy to find, for example through a search engine, strangers can edit or delete the contents. This is called broken access control because the document does not check who is allowed to change it.
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.