Skip to content
CSRF Disclosed report Intermediate

flash content type sniff vulnerability in api.slack.com

A Flash content-type sniffing vulnerability on api.slack.com could allow an attacker to read a user's team authentication tokens from a page that lists them. The attacker could then use those tokens to perform CSRF attacks.

netfuzzer Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 2 days
  • Paid in 2 days
  • Disclosed after 32 days

Hi,

I have found a flash content type sniff vulnerability could allow attackers get user's team auth2 tokens. As the page lists user's teams and its security tokens, this could allow attackers to do csrf attacks.

Steps to reproduce:

  1. Log in api.slack.com
  2. after go to http://netfuzzer.com/api-slack-vuln2.html
  3. wait 5 seconds until the page finish load
  4. see your team's security tokens.

Cheers, Mario

Attachments

screenshot.PNG
screenshot.PNG From the original on HackerOne

The original report as published on HackerOne, by netfuzzer. 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 server served user-supplied content without a correct Content-Type header or with a type that Flash could sniff, allowing a malicious Flash file to read cross-origin responses.

Impact

An attacker could obtain a user's team authentication tokens and use them to perform CSRF attacks, but the report does not show a full account takeover.

What the attacker needed

Victim is logged in to api.slack.com; victim visits attacker page

How it was found

  1. Log in to api.slack.com.
  2. Visit the attacker's test page.
  3. Wait for the page to finish loading.
  4. Observe the team's security tokens displayed.

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.

If a site mishandles file types, a malicious Flash file may read data from another page. Here that data included team security tokens, which could enable CSRF attacks.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by netfuzzer

View all

47 more disclosed reports, best first.

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 request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.