Skip to content
Info disclosure Write-up Intermediate

Exposing PII and SSNs through Persistent Session Tokens — $

The signup process issued a persistent session token that was embedded in a URL parameter and never expired. An attacker who obtained a leaked token could access the victim's sensitive personal information, including SSN, without authentication.

moblig Follow

Published on medium.com

It all started when a financial services platform ran a 3x campaign on Hackerone. I was able to find a couple of High severity vulnerabilities in the past for this program, so I was familiar with the platform, the main platform was pretty hardened, so I knew I had to take a different approach.

Moblig, 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 application used a non-expiring session token and included it in a URL query parameter, which led to leakage via logs, browser history, search engine indexing, and third-party scripts.

Impact

Anyone with a leaked token could access a victim's sensitive data, including SSNs, addresses, and dates of birth, and the tokens never expired, allowing indefinite use; tokens were also exposed via search engine indexing and third-party analytics.

What the attacker needed

A leaked session token; no authentication required

How it was found

  1. Visit the signup page and fill in basic information, then click Next.
  2. Observe the server setting a session token in the Set-Cookie header.
  3. Complete the signup process and note the token appearing in the URL parameter on the success page.
  4. Copy the token and make a request to the information endpoint with it as a cookie.
  5. See that personal data is displayed without any authentication.

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.

A session token is like a temporary password that keeps you logged in. Here, the token was put into the web address (URL) and never expired, so anyone who saw that address could use the token to see someone else's private details. The site also sent the token to analytics companies and search engines indexed the URLs, making the leak worse.

What is Info disclosure?

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

More by moblig

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.