In-depth lesson · postMessage abuse
Bypasses and variations
Every point the postMessage abuse reports back under this heading, best-backed first, each with the reports it is seen in.
-
A message handler allowed reading a session token.
Seen in 23 reports
-
A path with parent directory segments escaped the admin prefix.
Seen in 2 reports
-
A message handler allowed reading or writing cookies.
-
A domain whose name begins with the trusted origin string passed a prefix check.
Seen in 1 report
-
A domain containing the trusted origin string anywhere passed a substring check.
Seen in 1 report
-
A domain matching the trusted origin when dots were treated as wildcards passed a regex search.
Seen in 1 report
-
Opening the page from an attacker window made the referrer match the message origin.
Seen in 1 report
-
An FTP-served page bypassed origin validation.
Seen in 1 report
-
An empty source in a modal message bypassed the check.
Seen in 1 report
-
A path with an invalid protocol bypassed the path filter.
Seen in 1 report
-
A File object's read-only name property bypassed HTML escaping.
-
A forged success message sent before the legitimate one won the race.
-
A JavaScript URI in a follow-up URL bypassed the redirect check.
Seen in 1 report
-
A data URL in a forged success message redirected the victim in Safari.
-
A wildcard target origin let the token be posted to the attacker window.
Seen in 1 report
-
A JSONP endpoint loaded through ajax parameters executed script.
-
A route action with model data containing HTML rendered as script.
Seen in 1 report
-
An avatar URL parameter with markup executed in the widget.
Seen in 1 report
-
A path traversal in a custom protocol loaded attacker HTML from the repository.
Seen in 1 report
-
A message handler allowed arbitrary calls on an analytics object to write cookies.
Seen in 1 report
-
A message handler allowed invoking arbitrary methods by name.
Seen in 1 report
-
A message handler allowed loading an arbitrary script file as an extension.
Seen in 1 report
-
A message handler allowed injecting CSS to capture input.
Seen in 1 report
-
A message handler allowed setting a map label with HTML.
Seen in 1 report
-
A message handler allowed a call-popup redirect to an attacker domain.
-
A message handler allowed a WebSocket reconnect to leak a token.
Seen in 1 report
-
A message handler allowed reading files from a private repository.
-
A message handler allowed leaking the current user directory path.
Seen in 1 report
-
A message handler allowed reading contact form data.
-
A message handler allowed reading screenshots.
Seen in 1 report
-
A message handler allowed reading an OAuth code.
Seen in 1 report
-
A message handler allowed reading an OAuth access token.