Skip to content
XSS Disclosed report Advanced

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.

a1kmm- Follow

Originally disclosed on HackerOne

High 8.1 View original
  • 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-!

The original report as published on HackerOne, by a1kmm-. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More from Slack

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.