Skip to content

In-depth lesson · postMessage abuse

Year by year

What the disclosed postMessage abuse reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 51 to 77 of 77

2020

8 points

Kept working5

  1. A path with parent directory segments escaped the admin prefix in a navigation handler, according to the reports.

    Seen in 1 report
  2. A domain matching the trusted origin when dots were treated as wildcards passed a regex search, as demonstrated.

    Seen in 1 report
  3. A wildcard target origin let a token be posted to the attacker window, the reports show.

    Seen in 1 report
  4. A message handler allowed invoking arbitrary methods by name on the page's objects, according to the reports.

    Seen in 1 report
  5. A message handler allowed reading screenshots or documents from a cloud productivity app, as reported.

    Seen in 1 report

Turned up less3

  1. The prefix and substring domain matching bypasses from 2019 are not repeated in the 2020 reports.

    Seen in 2 reports
  2. The race condition with forged success messages seen in 2019 does not appear in the 2020 reports.

    Seen in 1 report
  3. The empty source bypass from 2019 is not seen in the 2020 reports.

    Seen in 1 report

2019

13 points

New this year4

  1. DOM XSS via postMessage first appears clearly in the disclosed reports this year, with several cases.

    Seen in 4 reports
  2. Abusing Shopify admin and checkout handlers is first seen in the reports.

    Seen in 3 reports
  3. Bypassing origin checks with prefix or substring domain matching is first documented in the reports.

    Seen in 2 reports
  4. Exploiting race conditions by sending forged messages before legitimate ones is first shown in the reports.

    Seen in 1 report

Kept working6

  1. Hunters found that message handlers on Shopify admin and checkout pages could be abused to read session tokens or CSRF tokens, as shown in the reports.

    Seen in 2 reports
  2. A domain whose name began with the trusted origin string passed a prefix check, according to the reports.

    Seen in 1 report
  3. A domain containing the trusted origin string anywhere passed a substring check, as demonstrated.

    Seen in 1 report
  4. An empty source in a modal message bypassed the origin check, the reports show.

    Seen in 1 report
  5. A forged success message sent before the legitimate one won a race condition, according to the reports.

    Seen in 1 report
  6. A JavaScript URI in a follow-up URL bypassed the redirect check, as reported.

    Seen in 1 report

Turned up less3

  1. Abusing Marketo contact forms on HackerOne, which featured in 2017 reports, is less prominent in the 2019 reports.

    Seen in 1 report
  2. The FTP-served page origin bypass seen in 2017 does not appear in the 2019 reports.

    Seen in 1 report
  3. The File object read-only property bypass from 2017 is not repeated in the 2019 reports.

    Seen in 1 report

2017

6 points

Kept working6

  1. Hunters found that message handlers on Slack pages could be abused to read a victim's session token, as shown in the disclosed reports.

    Seen in 2 reports
  2. A call-popup redirect could be pointed at an attacker domain so that a token was delivered there, according to the reports.

    Seen in 1 report
  3. A WebSocket reconnect flow combined with a message handler leaked a session token to an attacker page, as reported.

    Seen in 1 report
  4. A message handler on a HackerOne page allowed reading contact form data submitted on the parent site, the reports show.

    Seen in 1 report
  5. Sending messages from an FTP-served page bypassed origin validation, as demonstrated in the disclosed reports.

    Seen in 1 report
  6. A File object's read-only name property bypassed HTML escaping when sent in a message payload, according to the reports.

    Seen in 1 report