Skip to content
Access control Write-up Beginner

Payment Bypass Flaw In Techpsc Hub

A paid quiz feature could be accessed without paying because the quiz content was served from predictable, guessable URLs. An attacker could enumerate the URL pattern and run or download paid mock tests for free.

Sangharsha Upadhyaya Follow

Published on infosecwriteups.com

For Non -Paid Student’s sets 1 -3 open freely, but selecting set 4 triggers a subscription payment prompt.

Sangharsha Upadhyaya, on infosecwriteups.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 quiz files were served from a static, predictable path with no server-side check that the user had paid before the file was returned.

Impact

A user could run and download paid mock tests without paying, as the author demonstrated by running unlimited quizzes and downloading topic quizzes.

What the attacker needed

Android app installed; Ability to view leaked URLs; No payment required

The fix

The server should check that the user has paid before returning any quiz file, rather than relying on unguessable URLs.

How it was found

  1. Open the Android app and go to any quiz.
  2. Turn off Wi-Fi and mobile data.
  3. Try to load the quiz so the underlying API link appears on screen.
  4. Collect more quiz links to work out the URL pattern.
  5. Change the quiz part of the URL to reach other quiz files.
  6. Run or download paid quizzes without paying.

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.

The app sells access to practice tests, but the test files themselves sit at web addresses that follow an easy-to-guess pattern. By changing part of the address, someone can open tests they were never allowed to buy. This is like a shop putting the paid goods on an open shelf with a label anyone can read.

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.