Skip to content
IDOR Disclosed report Beginner

[█████] Get all tickets (IDOR)

The ticket viewing page used a sequential ticket number and a four-digit random code, allowing an attacker to brute-force the code for each ticket number and access other users' tickets. This exposed personal data and allowed modification of ticket content.

jarvis0x1 Follow

Originally disclosed on HackerOne

  • Triaged in 42 hours
  • Fixed in 41 days
  • Disclosed after 9 months

In this report I want to describe an interesting vulnerability that allows you to extract tickets with personal data on the site. When user registering a new entry, the user receives a link with a ticket number and a random 4-digit code. The vulnerability is that this code can be easily bruted, so the entire database can be iterated.

Steps to reproduce

  1. Go to page https://█████/daumw2017/Registration.aspx and register
  2. After registering you will be redirect to page look like this https://██████/daumw2017/ThankYou.aspx?PID=12004&RNo=4387

PID - number of ticket RNo - random number (4 digits)

So I can decrement PID and brute RNo, and when I guess Rno for current PID, I will get info about ticket.

  1. Use this request for brute
GET /daumw2017/ThankYou.aspx?PID=<ID_record>&RNo=<4_digit_random_number> HTTP/1.1
Host: ██████
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: ASP.NET_SessionId=40n0abdtjikowu5qzr4e2fyj
DNT: 1
Connection: close
Upgrade-Insecure-Requests: 1

Result (not my tickets):

https://███████/daumw2017/ThankYou.aspx?PID=12000&RNo=7380 █████

https://███/daumw2017/ThankYou.aspx?PID=11999&RNo=9841 ██████

https://█████████/daumw2017/ThankYou.aspx?PID=11998&RNo=1038 █████████

https://██████/daumw2017/ThankYou.aspx?PID=11997&RNo=8846 ███████

If you get access to ticket, you can easy change content of it!

Optimal number of threads is 20-30 in Burp Suite

Impact

Hacker can get access to all tickets on the site, which contain emails, first names, last names and other confidential information. Also, a hacker has the ability to change data of this tickets.

The original report as published on HackerOne, by jarvis0x1. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application used a short, brute-forceable random code as the only protection for accessing tickets by sequential ID, without rate limiting or stronger authentication.

Impact

An attacker could access all tickets on the site, which contain emails, names, and other confidential information, and could also change ticket data.

What the attacker needed

No account needed to brute-force; Knowledge of ticket URL structure

How it was found

  1. Register on the site to receive a ticket link with a ticket number and a four-digit code.
  2. Observe the URL parameters PID (ticket number) and RNo (four-digit code).
  3. Decrement the PID and brute-force the RNo for each ticket number.
  4. Use a tool like Burp Suite with 20-30 threads to send requests and find valid combinations.
  5. Access other users' tickets and view or modify their personal data.

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 report has not been written yet. The Original tab links to the source.

When you register, the site gives you a link with two numbers: a ticket number and a short random code. The site checks if the code matches the ticket number, but because the code is only four digits, someone can try all possible codes quickly. This lets them see other people's tickets, which contain personal details.

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 jarvis0x1

View all

10 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.