4 XSSs With A Simple & Optimized Payload
The report describes a scenario where injected JavaScript was converted to uppercase, breaking normal code. The author crafted a short payload using only allowed characters to bypass this and found four XSS vulnerabilities on a Bugcrowd program.
levelup.gitconnected.com
Published on levelup.gitconnected.com
Discover how you can earn easy $100 in 5 minutes by discovering this unique bug in Quick & Easy $100 Bug That You Can Find In 5 minutes
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 converted user input to uppercase as a naive XSS filter, but JavaScript is case-sensitive and can still be executed using only uppercase letters and symbols.
What the attacker needed
Injection point that uppercases input; victim visits a crafted link
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 an attacker injects malicious JavaScript into a website, which then runs in other users' browsers. Here, the website tried to block attacks by turning all injected code into uppercase letters, which normally breaks JavaScript. The author found a way to write working JavaScript using only uppercase letters and a few symbols, so the attack still worked.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.