Skip to content
Info disclosure Write-up Beginner

Stormshield SNS cleartext password leak

The Stormshield SNS login page, when configured with multiple authentication methods, falls back to a GET request that includes the username and password in cleartext if the first method fails. An attacker with access to the user's browser history or TLS interception logs could obtain the credentials.

Mehdi Alouache Follow

Published on medium.com

I stumbled on a very surprising behaviour on a Stormshield SNS login page.

Mehdi Alouache, 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 fallback authentication mechanism uses a GET request to transmit credentials because the system cannot chain POST requests, exposing sensitive data in URLs.

Impact

The cleartext credentials could be exposed in browser history or TLS interception logs, potentially allowing an attacker to obtain passwords, though the text notes that with proper SSL/TLS the requests are not vulnerable to sniffing.

What the attacker needed

SNS configured with multiple auth methods; First authentication method fails; Access to browser history or TLS logs

How it was found

  1. Configure authentication method 1 as LDAP(S) and method 2 as SSL certificate.
  2. User attempts to authenticate, triggering a POST request for method 1.
  3. If method 1 fails, SNS sends a GET request with username and password in cleartext.

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.

When you log in, your browser usually sends your password in a way that is not visible in the address bar. Here, if the first login method fails, the system tries a second method that puts your username and password directly into the web address. Anyone who can see your browser history or network logs could then read your password.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Mehdi Alouache

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.