Skip to content
XSS Write-up Intermediate

My First Paid Bug Bounty — Stored Blind XSS

A stored blind XSS vulnerability existed in the direct messaging functionality, allowing an attacker to send payloads that were stored and later executed in an administrator's privileged session when the report was viewed. This could have allowed the attacker to steal authentication information and log in as the admin.

medium.com

Published on medium.com

A few weeks ago, I earned my first paid bug bounty and I got rewarded and paid very graciously for it. My bounty was rewarded as a High Severity vulnerability due to it’s potential impact.

Dante Falls, 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 direct messaging feature did not properly sanitise or encode user-supplied content before storing and later rendering it in the admin panel.

Impact

The attacker could have received the admin's authentication information and potentially logged in as the admin, causing significant trouble for the program.

What the attacker needed

Ability to send direct messages; admin views the reported conversation

How it was found

  1. Create two test accounts (Account A and Account B).
  2. Send blind XSS payloads between the two accounts via direct messages.
  3. Report the conversation containing the payloads to the program administrators.
  4. Wait for an admin to open the report, triggering the payload in their privileged session.

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.

This is a stored blind cross-site scripting (XSS) bug. The attacker sends malicious code in a message; it is saved and later runs in someone else's browser when they view the message, without the attacker seeing it happen. Here, it ran in an admin's session and could have let the attacker take over the admin account.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.