Skip to content
Misconfiguration Write-up Beginner

Easiest P4?

The target website does not send the HTTP Strict Transport Security (HSTS) header, so browsers are not instructed to always use HTTPS. An attacker could potentially perform man-in-the-middle attacks such as protocol downgrade or cookie hijacking.

anonymoustriager Follow

Published on medium.com

I am about to drop the easiest P4 which is accepted on a few Platforms and even VDP. Impact is just missing headers but it is accepted by many VDP.

Anonymous Triager, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the web server is not configured to send the Strict-Transport-Security header in its HTTPS responses.

Impact

Without HSTS, an attacker could intercept and manipulate traffic between the user and the server, potentially leading to sensitive data exposure.

What the attacker needed

Attacker on the same network path; victim uses HTTP or types URL without https

The fix

The web server should be configured to send the HSTS header, for example with a long max-age, includeSubDomains, and preload directives.

How it was found

  1. Navigate to the target website over HTTPS.
  2. Open the browser developer tools and go to the Network tab.
  3. Reload the page and inspect the response headers of the main document.
  4. Observe that the Strict-Transport-Security header is missing.

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 write-up has not been written yet. The Original tab links to the source.

HSTS is a security header that tells browsers to only connect to a site over HTTPS, which is the encrypted version of the web. Without it, an attacker on the same network could trick the browser into using an unencrypted connection and then read or change the data. This report simply notes that the header is missing.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.