Stored XSS in Yahoo mail IOS app($3500)
A stored cross-site scripting flaw existed in the Yahoo Mail iOS app when an email attachment filename was rendered without proper sanitisation. An attacker could send a crafted email that, when opened by the victim, executed script to steal the victim's geolocation.
I want to share about my easy finding in Yahoo mail IOS application, easy but worth $3500.
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 iOS mail app rendered attachment filenames as HTML without properly escaping or sanitising them, allowing script injection.
Impact
An attacker could obtain the victim's geolocation when the victim opened a crafted email in the Yahoo Mail iOS app.
What the attacker needed
Victim uses Yahoo Mail iOS app; victim opens the crafted email
How it was found
- Craft an attachment filename containing an XSS payload.
- Upload the attachment and send it to the victim's email address.
- The victim opens the email in the Yahoo Mail iOS app.
- The payload executes and sends the victim's geolocation to the attacker.
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 or app displays user-supplied text as if it were code, so an attacker can make the victim's device run malicious instructions. Here, the name of an email attachment was shown without being made safe, so a specially crafted filename could run code inside the mail app. That code could then read the victim's location and send it to the attacker.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.