Skip to content
IDOR Write-up Intermediate

Finding Real IP Behind Cloudflare And Exploiting IDOR Vulnerabilities

The GraphQL API accepted edit-user requests without a valid Authorization header, so the author could change another account's profile data. The author also located the origin server behind Cloudflare to test the API directly without dealing with the Cloudflare cookie.

aminudin Follow

Published on aminudin.medium.com

Seperti biasa saya menemukan target menarik pada NFT Marketplace tapi kali ini ada di jaringan INJECTIVE.Pertama selalu saya tegaskan pekerjaan saya yang utama bukan BugBounty hunter, tapi disini saya hanya kadang suka iseng mencari bug/pentesting diwaktu luang saya. Jadi, disini saya hanya pemula dan maaf jika ada…

Aminudin, on aminudin.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 edit-user GraphQL operation did not verify the caller's identity or ownership of the account being changed.

What the attacker needed

A user account; ability to intercept requests; origin IP found via Censys

How it was found

  1. Open the site's network traffic while editing and saving a user profile.
  2. Notice the GraphQL request has an empty Authorization header.
  3. Copy the request as curl and resend it, first through Postman and then the terminal.
  4. Search Censys for the host and list related IP addresses.
  5. Visit each IP and compare its page with the real site to find the origin.
  6. Add the GraphQL path to the origin IP and resend the edit request to change another account.

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 API is the part of a website that apps talk to in the background. Here it did not check who was asking before saving profile changes, so anyone could edit someone else's account. The author also found the server's real address behind Cloudflare, a protective front layer, to test more freely.

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 by aminudin

View all

2 more disclosed reports, best first.

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.