Skip to content
Account takeover Write-up Intermediate

Easy Bug That Falls Between P5 and P3: Find Broken Access Control & IDOR Using AutoReisze in Burp…

The report claims that by injecting an attacker's session cookie into a victim's browser, the attacker gained full access to the victim's account and could change the display name to impersonate trusted users. The author attributes this to improper session validation and session confusion in a GraphQL resolver.

ahmedashrafshora Follow

Published on medium.com

In the bug bounty world, sometimes the simplest methods yield the biggest results. Introducing AutoReisze — a Burp Suite extension that helps you easily and reliably find Broken Access Control and IDOR vulnerabilities.

Ahmed Ashraf Shora, on 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 the application failed to properly validate session cookies and confused session data between users, possibly due to a flaw in the GraphQL resolver that links session data to cookies.

Impact

This could lead to complete account takeover and UI deception attacks, though the report notes that the program classified it as a lower-severity local issue.

What the attacker needed

Victim logged in; attacker has an account; ability to inject cookies

How it was found

  1. Open two browsers: one logged in as victim, one as attacker.
  2. Extract the attacker's session cookies using Burp Suite.
  3. Close the attacker's browser session.
  4. Inject the attacker's cookies into the victim's browser session.
  5. Observe that requests with victim's and attacker's cookies return nearly identical responses.
  6. Gain full access to the victim's dashboard and perform actions as the victim.

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 session cookie is like a temporary ID card a website gives your browser after you log in. The report says that if someone else's ID card was placed into your browser, the website treated it as if you were that other person, letting them see and act on your account. This is dangerous because it can let an attacker take over an account.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.