Skip to content
Access control Write-up Beginner

Behind the Scenes: How I Hacked one of the largest Amusement Park in the Philippines.

The admin dashboard of an amusement park's website was briefly visible before a client-side redirect to the login page, allowing the author to bypass the redirect and access admin functionality. This exposed PII and allowed generating free tickets and editing page content.

medium.com

Published on medium.com

This happened 2 years ago when I was doing some test on my Automation script the results of our query for hunting gave us this

Pwndec0c0, 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 relied on a client-side redirect for access control instead of enforcing authentication and authorisation on the server.

Impact

An attacker could access admin functionality, extract PII, generate free tickets, and edit page content; the author reported the issue and it was fixed within a week.

What the attacker needed

Publicly accessible admin URL; ability to intercept HTTP responses

The fix

The issue was fixed by the organisation after the author reported it.

How it was found

  1. Found an admin directory via a broad search query.
  2. Visited the URL and saw the admin dashboard briefly before a redirect to login.
  3. Used Burp to inspect the response and identified a script causing the redirect.
  4. Bypassed the redirect to access admin functionality.
  5. Reviewed source code to find additional admin paths.
  6. Extracted PII and generated free tickets, and accessed page editing features.

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 website's admin area was supposed to be protected by a login page, but the protection was only a redirect that happened after the page had already loaded. By stopping that redirect, the author could see and use admin features without logging in.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.