Skip to content
XSS Disclosed report Beginner

HTTP Strict Transport Policy not enabled on newly made accounts

The report claims that HTTP Strict Transport Security (HSTS) was not enabled on a newly created account's web response. Without HSTS, a user could be exposed to a man-in-the-middle attack that downgrades the connection to plain HTTP.

shahmeeramir Follow

Originally disclosed on HackerOne

  • Fixed in 21 hours
  • Disclosed after 31 days

Hey As we know that the HSTS prevents MITM against SSL. I just checked the headers of the account i created localhost.slack.com

SERVER RESPONSE: 200 OK Cache-Control: private, no-cache, no-store, must-revalidate Content-Encoding: gzip Content-Type: text/html; charset="utf-8" Date: Wed, 03 Sep 2014 00:45:35 GMT Expires: Mon, 26 Jul 1997 05:00:00 GMT Pragma: no-cache Server: Apache Vary: Accept-Encoding X-Frame-Options: SAMEORIGIN X-Robots-Tag: noindex,nofollow X-XSS-Protection: 0 Content-Length: 4606 Connection: keep-alive

The HSTS is not set here. Awaiting your reply

The original report as published on HackerOne, by shahmeeramir. 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

Impact

A user could be exposed to a man-in-the-middle attack that downgrades the connection to plain HTTP, though the report does not demonstrate an actual exploit.

What the attacker needed

An account

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.

HSTS is a security header that tells browsers to always use a secure HTTPS connection for a site. If it is missing, an attacker on the same network might trick the browser into using an insecure HTTP connection and intercept the traffic. This report says the header was absent on a new account.

What is XSS?

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

More by shahmeeramir

View all

29 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 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.