Blind XSS fired on Admin panel worth $2000
A blind stored cross-site scripting vulnerability allowed an attacker to inject a payload into a post, which later executed in the admin panel when an administrator viewed the reported content. The attacker could potentially steal the admin's session cookies and take control of the application.
Published on medium.com
it is my first Write Up, In this writeup, we will discuss a found Blind XSS on Bugcrowd Private Program, let’s say it as target.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 stored user-supplied post content without proper sanitisation and later rendered it unsafely in the admin dashboard.
Impact
An attacker could gain access to sensitive information, compromise the admin panel, and potentially take control of the application by using stolen admin session cookies.
What the attacker needed
A user account on the target site; ability to create and publish posts; victim (admin) views the reported content
How it was found
- Log in to the target site and create a new post.
- Fill the title and body with a blind XSS payload.
- Publish the post.
- Log in with another account, visit the post URL, and report the content.
- Wait for the administrator to view the report, which triggers the payload.
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 blind stored cross-site scripting (XSS) bug. An attacker saved a malicious script inside a post, and later an administrator viewed that post on a separate admin page, causing the script to run in the admin's browser. The attacker never saw the result directly, which is why it is called 'blind'.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.