How Did I Easily Find Stored XSS at Apple And Earn $5000 ?
A stored cross-site scripting (XSS) vulnerability existed in the 'Location' field of Apple Discussions user profiles. An attacker could inject a script that executes when other users view the profile, potentially stealing their cookies.
Hello there ! Today we’ll talk about stored XSS which I found in Apple.
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
Impact
Cookies of users and employees could be stolen, though the text does not specify any defences that might have limited the attack.
What the attacker needed
A free account on discussions.apple.com; victim views the attacker's profile
How it was found
- Register on discussions.apple.com and create a profile.
- Edit the 'Location' section of the profile.
- Insert an XSS payload into the 'Location' field.
- Save the profile and view it to see the script execute.
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.
Stored XSS is when a website saves harmful code you type (like in a profile field) and later shows it to other people without cleaning it. When someone views the page, their browser runs the code, which can steal their login cookies or do other damage.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.