Bypass to postMessage origin validation via FTP
The postMessage origin validation could be bypassed by an attacker with man-in-the-middle capabilities using FTP, allowing them to view XOXS tokens of victims on the local network. The issue was related to a previous report and is now resolved.
- Triaged in 12 days
- Fixed in 23 days
- Paid in 23 days
- Disclosed after 48 days
Summary by the program
@a1kmm- discovered a bypass to our postMessage origin check, wherein an attacker with existing MITM capabilities could use FTP to bypass validation and view XOXS tokens of victims on the local network. This was related to, and investigated at the same time as, a previous report. This issue is now resolved and was not exploited. Thanks @a1kmm-!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the origin validation for postMessage did not correctly handle requests originating from FTP URLs, allowing a man-in-the-middle to spoof a trusted origin.
Impact
An attacker with existing man-in-the-middle capabilities could view XOXS tokens of victims on the local network; the issue was not exploited and is now resolved.
What the attacker needed
Attacker has MITM capabilities; victim on same local network
The fix
The issue was fixed, though the text does not describe the fix.
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 report has not been written yet. The Original tab links to the source.
This report describes a way to get around a security check that websites use to decide which other sites are allowed to send them messages. An attacker who can already intercept network traffic could use an old file-transfer protocol (FTP) to trick the check and steal login tokens from people on the same local network. The problem has been fixed.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.