How I Escalated N/A to High and Got Rewarded £££: Bug Hunting Journey
A help search bar reflected user input without proper sanitisation, allowing an attacker to inject a script. The author bypassed a basic filter using an obfuscated payload to achieve reflected cross-site scripting.
Published on medium.com
After some deep learning and projects, I found it challenging to focus on write-ups, but today, I bring you a rewarded submission write-up. This submission was initially out of scope, but I escalated it from N/A to high.
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 help search bar reflected user input into the page without properly encoding or sanitising it, and the filter could be bypassed with obfuscation.
Impact
An attacker could execute arbitrary script in a victim's browser via a crafted link, though the text does not describe specific consequences beyond the XSS itself.
What the attacker needed
VPN access to the target domain; victim clicks a crafted link
How it was found
- Connect to the target domain using a VPN as required by the program.
- Crawl the user input areas and locate the help search bar.
- Inject a script tag and observe that a noscript tag is accepted.
- Use an obfuscated payload to bypass the filter and trigger reflected XSS.
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.
Cross-site scripting (XSS) is when a website takes something you type and shows it back on the page without cleaning it first. If an attacker types code instead of normal text, the browser runs that code as if the website itself had written it. Here, the search box echoed the input, so a crafted link could run a script in a victim's browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.