Skip to content
IDOR Write-up Beginner

A 7500$ Google sites IDOR

An IDOR vulnerability in Google Sites allowed an attacker to access private script identifiers belonging to another user by replacing the victim's site name with their own in a request. The attacker could view private identifiers for scripts associated with another user's site.

Jalal Follow

Published on r0ckinxj3.wordpress.com

Bounty$7,500 View original

My name is Jalal aka r0ckin and this is my first blog post and it is about a vulnerability that I’ve discovered on Google sites.

Jalal (@r0ckin_), on r0ckinxj3.wordpress.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 the endpoint lacked proper access control checks, allowing any authenticated user to list scripts for any site by specifying the site name.

Impact

An attacker could view private identifiers for another user's scripts, potentially leading to further access or information disclosure.

What the attacker needed

A Google account; knowledge of another user's site name

The fix

The endpoint should enforce proper access controls to ensure users can only list scripts for sites they own.

How it was found

  1. Map the application with an intercepting proxy, scoping to sites.google.com.
  2. Identify a request containing the site name catherinerecipespersonal.
  3. Create a second account with site name tomasideasontesting.
  4. Replace catherinerecipespersonal with tomasideasontesting in the request.
  5. Send the modified request and observe the response.

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.

An IDOR (Insecure Direct Object Reference) is a bug where a website lets you access someone else's data just by changing an identifier in a request, like a username or ID number. Here, the researcher changed the site name in a request to another user's site name and received private information about that user's scripts.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.