Skip to content
Info disclosure Write-up Intermediate

PII Exposure: The Data Heist You Never Knew Was Possible!

A registration response leaked an SMTP conversation containing a third-party API link that used GET and exposed an API key, allowing the attacker to send arbitrary SMS messages and later access a report API that disclosed usernames, generated passwords, full names and contact numbers. The attacker could log in with those credentials.

infosecwriteups.com

Published on infosecwriteups.com

Hey there, fellow security enthusiasts! Today, we’re going to talk about something that might blow your mind.

th3.d1p4k, on infosecwriteups.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 returned the full SMTP conversation in the registration response, exposing a third-party API key and a GET-based endpoint that lacked proper access controls.

Impact

An attacker could send arbitrary text messages to any number, causing financial loss, and could obtain usernames, generated passwords, full names and contact numbers, then log in with those credentials.

What the attacker needed

Access to the signup page; ability to view HTTP responses

How it was found

  1. Perform basic reconnaissance on in-scope domains and subdomains.
  2. Find a subdomain with signup functionality and complete the mandatory fields.
  3. Review Burp history and notice an SMTP conversation in the registration response.
  4. Copy the API link from the SMTP conversation and open it in a browser to send messages.
  5. Sign up on the third-party website, read its documentation, and call the report API.
  6. Use the disclosed credentials to log in successfully.

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 sign up on a website, the server sometimes shows internal messages, like the conversation it has with an email server. Here that message included a secret key and a web address for a third-party service. Anyone who saw it could reuse the address to send texts and then query another part of the service to get other users' login details.

What is Info disclosure?

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

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.