Skip to content
IDOR Write-up Beginner

Uncovering IDOR and Stored XSS Vulnerabilities( Deep Dive into Ti

The ticketing system lacked access control on ticket IDs, allowing any authenticated user to view and edit other users' tickets, including admin tickets. It also failed to sanitise the ticket description field, enabling stored XSS that could steal session cookies when a ticket was viewed.

soltanali0 Follow

Published on soltanali0.medium.com

Hi, I’m Ali Soltani, a passionate pentester with a focus on web application security and CVE research. I’ve always been fascinated by uncovering vulnerabilities and working on improving security to ensure safer digital environments.

soltanali0, on soltanali0.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 missing server-side authorisation checks on ticket IDs and absent output encoding of user-supplied ticket descriptions.

Impact

An attacker could view and edit other users' tickets, including administrative tickets, and steal session cookies via stored XSS, potentially leading to account compromise.

What the attacker needed

Authenticated user account; victim views the malicious ticket

The fix

The text does not state that the issues were fixed; it recommends implementing strict access control checks and sanitising user input.

How it was found

  1. Log into the application and identify a ticket URL containing a ticket_id.
  2. Modify the ticket_id value in the URL to access tickets belonging to other users.
  3. Inject a script payload into a ticket's description field.
  4. Open the ticket to trigger execution of the stored script.

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 ticketing system lets users create and view support tickets. The application used a simple number in the web address to identify each ticket, but it never checked whether the person requesting the ticket actually owned it. This meant anyone could change the number and read or edit other people's tickets, including those of administrators. Separately, the ticket description field did not clean up user input, so a user could insert a script that runs in the browser of anyone who opens the ticket, potentially stealing their login session.

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 soltanali0

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.