Content Spoofing all Integrations in https://team.slack.com/services/new/
The error parameter on Slack's integration setup pages was reflected back to the user without proper handling, allowing an attacker to inject arbitrary text into the page. An attacker could craft a link that makes the page display fake content, potentially tricking users.
Originally disclosed on HackerOne
- Triaged in 4 hours
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 33 days
Hello There,
I've discovered 48+ content spoofing and confirmed all of your Integrations at https://team.slack.com/services/new/ is vulnerable to Content spoofing and exploitable to all users. Content Spoofing An attack technique used to trick a user into thinking that fake web site content is legitimate data and is an attack targeting a user made possible by an injection vulnerability in a web application. When an application does not properly handle user supplied data, an attacker can supply content to a web application, typically via a parameter value, that is reflected back to the user.
###Proof of concept:
###Buildbox: https://asdasda.slack.com/services/new/buildbox?error=Content%20Spoofing ###Cloud 66: https://asdasda.slack.com/services/new/cloud66?error=Content%20Spoofing ###Code Climate: https://asdasda.slack.com/services/new/code-climate?error=Content%20Spoofing ###Codeship: https://asdasda.slack.com/services/new/codeship?error=Content%20Spoofing ###Crashlytics: https://asdasda.slack.com/services/new/crashlytics?error=Content%20Spoofing ###Datadog: https://asdasda.slack.com/services/new/datadog?error=Content%20Spoofing ###Dropbox: https://asdasda.slack.com/services/new/dropbox?error=Content%20Spoofing ###Envoy: https://asdasda.slack.com/services/new/envoy?error=Content%20Spoofing ###Github: https://asdasda.slack.com/services/new/github?error=Content%20Spoofing ###GoSquared : https://asdasda.slack.com/services/new/gosquared?error=Content%20Spoofing ###Google Drive: https://asdasda.slack.com/services/new/gdrive?error=Content%20Spoofing ###Google+ Hangouts: https://asdasda.slack.com/services/new/hangouts?error=Content%20Spoofing ###Help Scout: https://asdasda.slack.com/services/new/helpscout?error=Content%20Spoofing ###Heroku: https://asdasda.slack.com/services/new/heroku?error=Content%20Spoofing ###Honeybadger: https://asdasda.slack.com/services/new/honeybadger?error=Content%20Spoofing ###Hubot: https://asdasda.slack.com/services/new/hubot?error=Content%20Spoofing ###IFTTT: https://asdasda.slack.com/services/new/ifttt?error=Content%20Spoofing ###Jira: https://asdasda.slack.com/services/new/jira?error=Content%20Spoofing ###Jenkins CI: https://asdasda.slack.com/services/new/jenkins-ci?error=Content%20Spoofing ###Librato: https://asdasda.slack.com/services/new/librato?error=Content%20Spoofing ###Magnum CI: https://asdasda.slack.com/services/new/magnum-ci?error=Content%20Spoofing ###MailChimp: https://asdasda.slack.com/services/new/mailchimp?error=Content%20Spoofing ###Nagios: https://asdasda.slack.com/services/new/nagios?error=Content%20Spoofing ###New Relic: ###Ninefold: https://asdasda.slack.com/services/new/ninefold?error=Content%20Spoofing ###OpsGenie: https://asdasda.slack.com/services/new/opsgenie?error=Content%20Spoofing ###PagerDuty: https://asdasda.slack.com/services/new/pagerduty?error=Content%20Spoofing ###Papertrail: https://asdasda.slack.com/services/new/papertrail?error=Content%20Spoofing ###Phabricator: https://asdasda.slack.com/services/new/phabricator?error=Content%20Spoofing ###Pingdom: https://asdasda.slack.com/services/new/pingdom?error=Content%20Spoofing ###Pivotal Tracker: https://asdasda.slack.com/services/new/pivotaltracker?error=Content%20Spoofing ###RSS: https://asdasda.slack.com/services/new/rss?error=Content%20Spoofing ###Raygun: https://asdasda.slack.com/services/new/raygun?error=Content%20Spoofing ###Reamaze: https://asdasda.slack.com/services/new/reamaze?error=Content%20Spoofing ###Rollcall: https://asdasda.slack.com/services/new/rollcall?error=Content%20Spoofing ###Runscope: https://asdasda.slack.com/services/new/runscope?error=Content%20Spoofing ###Screenhero: https://asdasda.slack.com/services/new/screenhero?error=Content%20Spoofing ###Semaphore: https://asdasda.slack.com/services/new/semaphore?error=Content%20Spoofing ###Sentry: https://asdasda.slack.com/services/new/sentry?error=Content%20Spoofing ###StatusPage.io: https://asdasda.slack.com/services/new/statuspageio?error=Content%20Spoofing ###Stripe: https://asdasda.slack.com/services/new/stripe?error=Content%20Spoofing ###SupportFu: https://asdasda.slack.com/services/new/supportfu?error=Content%20Spoofing ###Travis CI: https://asdasda.slack.com/services/new/travis?error=Content%20Spoofing ###Trello: https://asdasda.slack.com/services/new/trello?error=Content%20Spoofing ###Twitter: https://asdasda.slack.com/services/new/twitter?error=Content%20Spoofing ###Userlike: https://asdasda.slack.com/services/new/userlike?error=Content%20Spoofing ###WorkingOn: https://asdasda.slack.com/services/new/workingon?error=Content%20Spoofing ###Zendesk: https://asdasda.slack.com/services/new/zendesk?error=Content%20Spoofing
###Please download the screenshot proof of concept: https://www.dropbox.com/s/mnwa2pm1x4ziweg/slack%20content%20spoofing.rar
Regards, Jayson Zabate
Context
Slack's integration directory lived under a per-team path, https://team.slack.com/services/new/, with one sub-path per third-party service: Buildbox, Cloud 66, Code Climate, Codeship, Crashlytics, Datadog, Dropbox, Envoy, Github, GoSquared, Google Drive, Google+ Hangouts, Help Scout, Heroku, Honeybadger, Hubot, IFTTT, Jira, Jenkins CI, Librato, Magnum CI, MailChimp, Nagios, New Relic, Ninefold, OpsGenie, PagerDuty, Papertrail, Phabricator, Pingdom, Pivotal Tracker, RSS, Raygun, Reamaze, Rollcall, Runscope, Screenhero, Semaphore, Sentry, StatusPage.io, Stripe, SupportFu, Travis CI, Trello, Twitter, Userlike, WorkingOn and Zendesk. Each page is where a team member configures that integration for their workspace.
The report is about content spoofing: an injection flaw in which user-supplied data is reflected back into a page and rendered as if it were legitimate application content. The researcher's own definition, quoted from the report, is that it is "an attack technique used to trick a user into thinking that fake web site content is legitimate data and is an attack targeting a user made possible by an injection vulnerability in a web application. When an application does not properly handle user supplied data, an attacker can supply content to a web application, typically via a parameter value, that is reflected back to the user."
The weakness was classified as a violation of secure design principles. The report was disclosed on 3 September 2014 and paid a bounty of 200.00 USD.
Setup
The report describes no special setup. The researcher used a Slack team subdomain, shown throughout as asdasda.slack.com, and the integration configuration pages reachable under /services/new/. No account roles, tools or versions are mentioned. The only precondition visible in the report is that the pages are reachable by users of a team, since the researcher states the issue is exploitable by all users.
Finding it
The researcher reports discovering 48+ instances of content spoofing and confirming that all of the integrations at https://team.slack.com/services/new/ were vulnerable. The pattern is the same on every page: the same error query parameter with the same value was used on each integration page.
The attacker does not need to modify anything on Slack's side; a crafted link carrying the parameter is enough.
Exploitation
Step 1: pick an integration page
Every integration has its own path under /services/new/. The researcher enumerated them and tested each one with the same parameter.
Step 2: supply the payload in the error parameter
The payload used throughout is the string Content Spoofing, URL-encoded as Content%20Spoofing, appended as the value of error:
https://asdasda.slack.com/services/new/buildbox?error=Content%20Spoofing
The error parameter carries the injected text in the proof-of-concept URLs. In the report the injected text is the marker Content Spoofing.
Step 3: repeat across the directory
The researcher listed a proof-of-concept URL for each integration. The full list of proof-of-concept URLs from the report follows.
Buildbox:
https://asdasda.slack.com/services/new/buildbox?error=Content%20Spoofing
Cloud 66:
https://asdasda.slack.com/services/new/cloud66?error=Content%20Spoofing
Code Climate:
https://asdasda.slack.com/services/new/code-climate?error=Content%20Spoofing
Codeship:
https://asdasda.slack.com/services/new/codeship?error=Content%20Spoofing
Crashlytics:
https://asdasda.slack.com/services/new/crashlytics?error=Content%20Spoofing
Datadog:
https://asdasda.slack.com/services/new/datadog?error=Content%20Spoofing
Dropbox:
https://asdasda.slack.com/services/new/dropbox?error=Content%20Spoofing
Envoy:
https://asdasda.slack.com/services/new/envoy?error=Content%20Spoofing
Github:
https://asdasda.slack.com/services/new/github?error=Content%20Spoofing
GoSquared:
https://asdasda.slack.com/services/new/gosquared?error=Content%20Spoofing
Google Drive:
https://asdasda.slack.com/services/new/gdrive?error=Content%20Spoofing
Google+ Hangouts:
https://asdasda.slack.com/services/new/hangouts?error=Content%20Spoofing
Help Scout:
https://asdasda.slack.com/services/new/helpscout?error=Content%20Spoofing
Heroku:
https://asdasda.slack.com/services/new/heroku?error=Content%20Spoofing
Honeybadger:
https://asdasda.slack.com/services/new/honeybadger?error=Content%20Spoofing
Hubot:
https://asdasda.slack.com/services/new/hubot?error=Content%20Spoofing
IFTTT:
https://asdasda.slack.com/services/new/ifttt?error=Content%20Spoofing
Jira:
https://asdasda.slack.com/services/new/jira?error=Content%20Spoofing
Jenkins CI:
https://asdasda.slack.com/services/new/jenkins-ci?error=Content%20Spoofing
Librato:
https://asdasda.slack.com/services/new/librato?error=Content%20Spoofing
Magnum CI:
https://asdasda.slack.com/services/new/magnum-ci?error=Content%20Spoofing
MailChimp:
https://asdasda.slack.com/services/new/mailchimp?error=Content%20Spoofing
Nagios:
https://asdasda.slack.com/services/new/nagios?error=Content%20Spoofing
New Relic: the report lists this integration but gives no URL for it.
Ninefold:
https://asdasda.slack.com/services/new/ninefold?error=Content%20Spoofing
OpsGenie:
https://asdasda.slack.com/services/new/opsgenie?error=Content%20Spoofing
PagerDuty:
https://asdasda.slack.com/services/new/pagerduty?error=Content%20Spoofing
Papertrail:
https://asdasda.slack.com/services/new/papertrail?error=Content%20Spoofing
Phabricator:
https://asdasda.slack.com/services/new/phabricator?error=Content%20Spoofing
Pingdom:
https://asdasda.slack.com/services/new/pingdom?error=Content%20Spoofing
Pivotal Tracker:
https://asdasda.slack.com/services/new/pivotaltracker?error=Content%20Spoofing
RSS:
https://asdasda.slack.com/services/new/rss?error=Content%20Spoofing
Raygun:
https://asdasda.slack.com/services/new/raygun?error=Content%20Spoofing
Reamaze:
https://asdasda.slack.com/services/new/reamaze?error=Content%20Spoofing
Rollcall:
https://asdasda.slack.com/services/new/rollcall?error=Content%20Spoofing
Runscope:
https://asdasda.slack.com/services/new/runscope?error=Content%20Spoofing
Screenhero:
https://asdasda.slack.com/services/new/screenhero?error=Content%20Spoofing
Semaphore:
https://asdasda.slack.com/services/new/semaphore?error=Content%20Spoofing
Sentry:
https://asdasda.slack.com/services/new/sentry?error=Content%20Spoofing
StatusPage.io:
https://asdasda.slack.com/services/new/statuspageio?error=Content%20Spoofing
Stripe:
https://asdasda.slack.com/services/new/stripe?error=Content%20Spoofing
SupportFu:
https://asdasda.slack.com/services/new/supportfu?error=Content%20Spoofing
Travis CI:
https://asdasda.slack.com/services/new/travis?error=Content%20Spoofing
Trello:
https://asdasda.slack.com/services/new/trello?error=Content%20Spoofing
Twitter:
https://asdasda.slack.com/services/new/twitter?error=Content%20Spoofing
Userlike:
https://asdasda.slack.com/services/new/userlike?error=Content%20Spoofing
WorkingOn:
https://asdasda.slack.com/services/new/workingon?error=Content%20Spoofing
Zendesk:
https://asdasda.slack.com/services/new/zendesk?error=Content%20Spoofing
Step 4: capture proof
The report points to a screenshot archive as proof of concept, hosted at https://www.dropbox.com/s/mnwa2pm1x4ziweg/slack%20content%20spoofing.rar. The report does not describe the contents of the archive.
Root cause
The error parameter is reflected into the integration page and rendered as content. The report does not describe the server-side or client-side code, so the exact mechanism is not stated; The report does not describe the server-side or client-side code, so the exact mechanism is not stated.
Impact
An attacker can craft a link to any of the listed integration pages with text in error. The researcher states the issue is exploitable by all users. It does not claim script execution, and the payload used is plain text.
Fix
The general remedy for this class of bug is to stop reflecting the raw parameter into the page: encode it for the output context, or replace it with a fixed, server-chosen message keyed by an error code. Since the same parameter behaved identically across the integration directory, the fix belongs in the shared error-rendering path rather than in each integration page.
Variants to test
- Other error and status parameters on the same pages, such as
message,msg,noticeorflash. A positive result is attacker-chosen text appearing in the rendered page. - The same parameter on other per-tenant paths under the team subdomain, for example other
/services/routes. A positive result is the same reflection outside the integration directory. - Encoding variations of the value, to see whether the reflection is HTML-encoded or merely filtered. A positive result is markup from the payload being interpreted rather than displayed as text.
- The same parameter on the integration pages of a different team subdomain. A positive result confirms the behaviour is not tied to one workspace.
Hunting notes
Integration directories and setup wizards are good places to look, because they carry many near-identical pages generated from one template, and error or status parameters are commonly reflected to tell the user what went wrong. During recon, watch for query parameters whose values reappear verbatim in the response body, especially on pages that render a message banner. The researcher listed proof-of-concept URLs for every integration in the directory rather than a single page, and linked a screenshot archive as evidence. The report paid a bounty of 200.00 USD.
What happened, in plain words
Slack is a chat tool that teams use to talk to each other. It also lets a team connect other online services to its workspace, so that messages from those services appear in Slack. Examples of such services are Dropbox, Github, Trello, Twitter and many others. Each of these connections is called an integration, and Slack keeps a page for each one where a team member sets it up.
The researcher reported that every one of those setup pages was vulnerable to content spoofing, supplying a proof-of-concept URL for each. This kind of flaw is called content spoofing. The attacker does not change anything on Slack's servers; the proof of concept is a crafted link carrying the text in a parameter.
The researcher reported discovering 48+ instances of content spoofing and reported it through the HackerOne bug bounty platform. The report was disclosed on 3 September 2014 and paid a bounty of 200.00 USD. The weakness was classified as a violation of secure design principles.
Background you need first
A few ideas come up again and again below, so here they are from zero.
Web address and query string. A web address (URL) can carry extra information after a question mark. In https://example.com/page?colour=blue, the part before the ? says which page to open, and the part after it is a list of name and value pairs. Each pair is a parameter. Here the parameter is named colour and its value is blue. Pages often read these values and use them to decide what to display.
Reflection. When a page takes a value from the address and writes it back into the page it sends to your browser, that is called reflection. It is like a shop assistant repeating your words back to you. It is normal and often useful, for example to show "You searched for: blue".
Injection and content spoofing. Injection means that data a user supplies is treated as if it were part of the application itself. Content spoofing is a specific, mild form of injection: the injected data is shown as page content, so a visitor believes it is genuine. The researcher's own definition, quoted from the report, is that content spoofing is "an attack technique used to trick a user into thinking that fake web site content is legitimate data and is an attack targeting a user made possible by an injection vulnerability in a web application. When an application does not properly handle user supplied data, an attacker can supply content to a web application, typically via a parameter value, that is reflected back to the user."
Encoding. Some characters cannot appear directly in a web address, so they are written in a code. A space is written as %20. So Content Spoofing becomes Content%20Spoofing. This is called URL encoding, and it is why the links below look slightly odd.
Team subdomain. Slack gives every team its own address, such as team.slack.com. The part before .slack.com is the team name. The researcher used a test team whose address appears throughout the report as asdasda.slack.com.
Bug bounty. A bug bounty programme is a scheme in which a company pays people who report security problems to it responsibly, instead of exploiting them. HackerOne is a platform that runs such programmes.
The setup
The report describes no special setup. The researcher used a Slack team subdomain, shown throughout as asdasda.slack.com, and the integration setup pages reachable under /services/new/. No account roles, tools or versions are mentioned. The only precondition visible in the report is that the pages are reachable by users of a team, since the researcher states the issue is exploitable by all users.
Finding it
The researcher reports discovering 48+ instances of content spoofing and confirming that all of the integrations at https://team.slack.com/services/new/ were vulnerable. The pattern is the same on every page: the same error query parameter with the same value was used on each integration page.
The attacker does not need to modify anything on Slack's side; a crafted link carrying the parameter is enough.
Exploitation
Step 1: pick an integration page
Every integration has its own path under /services/new/. The researcher enumerated them and tested each one with the same parameter. Enumerating here simply means listing all the pages one by one, the way you might walk down a row of identical shop counters to check whether each one has the same fault.
Step 2: supply the payload in the error parameter
The payload used throughout is the string Content Spoofing, URL-encoded as Content%20Spoofing, appended as the value of error:
https://asdasda.slack.com/services/new/buildbox?error=Content%20Spoofing
Line by line, in plain words:
https://is the normal, encrypted way a browser talks to a website.asdasda.slack.comis the team's own Slack address, so the page is a genuine Slack page on a genuine Slack domain./services/new/buildboxis the path of the Buildbox integration setup page.?starts the list of parameters.error=Content%20Spoofingis one parameter namederrorwhose value is the textContent Spoofing, with the space written as%20.
The error parameter carries the injected text in the proof-of-concept URLs. Escaping means converting special characters so that they are shown as text instead of being treated as part of the page. In the report the injected text is the marker Content Spoofing.
Step 3: repeat across the directory
The researcher listed a proof-of-concept URL for each integration. The full list of proof-of-concept URLs from the report follows. Each one is the same recipe with a different service name in the path, which is why the researcher could test them all quickly.
Buildbox:
https://asdasda.slack.com/services/new/buildbox?error=Content%20Spoofing
Cloud 66:
https://asdasda.slack.com/services/new/cloud66?error=Content%20Spoofing
Code Climate:
https://asdasda.slack.com/services/new/code-climate?error=Content%20Spoofing
Codeship:
https://asdasda.slack.com/services/new/codeship?error=Content%20Spoofing
Crashlytics:
https://asdasda.slack.com/services/new/crashlytics?error=Content%20Spoofing
Datadog:
https://asdasda.slack.com/services/new/datadog?error=Content%20Spoofing
Dropbox:
https://asdasda.slack.com/services/new/dropbox?error=Content%20Spoofing
Envoy:
https://asdasda.slack.com/services/new/envoy?error=Content%20Spoofing
Github:
https://asdasda.slack.com/services/new/github?error=Content%20Spoofing
GoSquared:
https://asdasda.slack.com/services/new/gosquared?error=Content%20Spoofing
Google Drive:
https://asdasda.slack.com/services/new/gdrive?error=Content%20Spoofing
Google+ Hangouts:
https://asdasda.slack.com/services/new/hangouts?error=Content%20Spoofing
Help Scout:
https://asdasda.slack.com/services/new/helpscout?error=Content%20Spoofing
Heroku:
https://asdasda.slack.com/services/new/heroku?error=Content%20Spoofing
Honeybadger:
https://asdasda.slack.com/services/new/honeybadger?error=Content%20Spoofing
Hubot:
https://asdasda.slack.com/services/new/hubot?error=Content%20Spoofing
IFTTT:
https://asdasda.slack.com/services/new/ifttt?error=Content%20Spoofing
Jira:
https://asdasda.slack.com/services/new/jira?error=Content%20Spoofing
Jenkins CI:
https://asdasda.slack.com/services/new/jenkins-ci?error=Content%20Spoofing
Librato:
https://asdasda.slack.com/services/new/librato?error=Content%20Spoofing
Magnum CI:
https://asdasda.slack.com/services/new/magnum-ci?error=Content%20Spoofing
MailChimp:
https://asdasda.slack.com/services/new/mailchimp?error=Content%20Spoofing
Nagios:
https://asdasda.slack.com/services/new/nagios?error=Content%20Spoofing
New Relic: the report lists this integration but gives no URL for it.
Ninefold:
https://asdasda.slack.com/services/new/ninefold?error=Content%20Spoofing
OpsGenie:
https://asdasda.slack.com/services/new/opsgenie?error=Content%20Spoofing
PagerDuty:
https://asdasda.slack.com/services/new/pagerduty?error=Content%20Spoofing
Papertrail:
https://asdasda.slack.com/services/new/papertrail?error=Content%20Spoofing
Phabricator:
https://asdasda.slack.com/services/new/phabricator?error=Content%20Spoofing
Pingdom:
https://asdasda.slack.com/services/new/pingdom?error=Content%20Spoofing
Pivotal Tracker:
https://asdasda.slack.com/services/new/pivotaltracker?error=Content%20Spoofing
RSS:
https://asdasda.slack.com/services/new/rss?error=Content%20Spoofing
Raygun:
https://asdasda.slack.com/services/new/raygun?error=Content%20Spoofing
Reamaze:
https://asdasda.slack.com/services/new/reamaze?error=Content%20Spoofing
Rollcall:
https://asdasda.slack.com/services/new/rollcall?error=Content%20Spoofing
Runscope:
https://asdasda.slack.com/services/new/runscope?error=Content%20Spoofing
Screenhero:
https://asdasda.slack.com/services/new/screenhero?error=Content%20Spoofing
Semaphore:
https://asdasda.slack.com/services/new/semaphore?error=Content%20Spoofing
Sentry:
https://asdasda.slack.com/services/new/sentry?error=Content%20Spoofing
StatusPage.io:
https://asdasda.slack.com/services/new/statuspageio?error=Content%20Spoofing
Stripe:
https://asdasda.slack.com/services/new/stripe?error=Content%20Spoofing
SupportFu:
https://asdasda.slack.com/services/new/supportfu?error=Content%20Spoofing
Travis CI:
https://asdasda.slack.com/services/new/travis?error=Content%20Spoofing
Trello:
https://asdasda.slack.com/services/new/trello?error=Content%20Spoofing
Twitter:
https://asdasda.slack.com/services/new/twitter?error=Content%20Spoofing
Userlike:
https://asdasda.slack.com/services/new/userlike?error=Content%20Spoofing
WorkingOn:
https://asdasda.slack.com/services/new/workingon?error=Content%20Spoofing
Zendesk:
https://asdasda.slack.com/services/new/zendesk?error=Content%20Spoofing
Every one of these links follows the same shape: the Slack team address, then /services/new/, then the service's short name, then ?error=Content%20Spoofing. The researcher listed a proof-of-concept URL for every integration in the directory rather than a single page.
Step 4: capture proof
The report points to a screenshot archive as proof of concept, hosted at https://www.dropbox.com/s/mnwa2pm1x4ziweg/slack%20content%20spoofing.rar. The report does not describe the contents of the archive. Screenshots matter in a bug report because they let the person fixing the bug see the result without having to repeat every step.
Root cause
The error parameter is reflected into the integration page and rendered as content. The report does not describe the server-side or client-side code, so the exact mechanism is not stated; The report does not describe the server-side or client-side code, so the exact mechanism is not stated.
Impact
An attacker can craft a link to any of the listed integration pages with text in error. The researcher states the issue is exploitable by all users. It does not claim script execution, and the payload used is plain text.
Fix
The general remedy for this class of bug is to stop reflecting the raw parameter into the page: encode it for the output context, or replace it with a fixed, server-chosen message keyed by an error code. Since the same parameter behaved identically across the integration directory, the fix belongs in the shared error-rendering path rather than in each integration page.
Put simply: instead of showing whatever text arrives in the address, the page should show a message it already knows, chosen by a short code. If the address says error=1, the page shows its own wording for error 1, and any text the attacker adds is ignored.
Variants to test
- Other error and status parameters on the same pages, such as
message,msg,noticeorflash. A positive result is attacker-chosen text appearing in the rendered page. - The same parameter on other per-tenant paths under the team subdomain, for example other
/services/routes. A positive result is the same reflection outside the integration directory. - Encoding variations of the value, to see whether the reflection is HTML-encoded or merely filtered. A positive result is markup from the payload being interpreted rather than displayed as text.
- The same parameter on the integration pages of a different team subdomain. A positive result confirms the behaviour is not tied to one workspace.
Hunting notes
Integration directories and setup wizards are good places to look, because they carry many near-identical pages generated from one template, and error or status parameters are commonly reflected to tell the user what went wrong. During recon, watch for query parameters whose values reappear verbatim in the response body, especially on pages that render a message banner. The researcher listed proof-of-concept URLs for every integration in the directory rather than a single page, and linked a screenshot archive as evidence. The report paid a bounty of 200.00 USD.
Glossary
- Bug bounty: a programme in which a company pays people who report security problems to it responsibly.
- Encoding (URL encoding): writing characters in a web address in a coded form, such as
%20for a space. - Escaping: converting special characters so they are displayed as text rather than treated as part of the page.
- HackerOne: a platform that runs bug bounty programmes for companies.
- Injection: a flaw in which data supplied by a user is treated as if it were part of the application itself.
- Integration: a connection between a team's Slack workspace and another online service, so that messages from that service appear in Slack.
- Parameter: a name and value pair carried in a web address after the
?, such aserror=Content%20Spoofing. - Payload: the piece of data an attacker supplies, here the text placed in the
errorparameter. - Proof of concept: a demonstration that a flaw is real, often a link or screenshot.
- Query string: the part of a web address after the
?that carries parameters. - Recon: the exploratory phase of looking around a target to find interesting pages and parameters.
- Reflection: when a page takes a value from the address and writes it back into the page it sends to the browser.
- Secure design principles: the general rules for building systems so that they resist misuse; violating them is a weakness category.
- Subdomain: a prefix on a domain name, such as the team name in
team.slack.com. - Template: a reusable page layout with blanks that get filled in for each page.
- Tenant: one customer's separate space on a shared service, here one team's Slack workspace.
- URL: a web address.
- Workspace: a team's own area inside Slack.