How I Discovered a Critical Data Leak Starting with a Small Clue
The chatbot confirmed whether a twelve-digit account ID existed by initiating an OTP process for valid IDs, allowing enumeration of customer accounts. The bill-checking portal's payment flow sent unmasked personal data (name, email, phone) to a third-party payment gateway in a URL-encoded request, enabling mass PII leakage when chained with the enumeration.
Sometimes, the most valuable vulnerabilities are not found in complex functionalities. They are found in the silence between features, in the quiet corners of a website where developers assumed no one would look too closely.
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 insecure design: the chatbot's behavioural response leaked account existence, and the payment integration sent unmasked PII to a third party despite masking elsewhere.
Impact
An attacker could automate enumeration of valid account IDs and then harvest unmasked personal data (name, email, phone) for each, potentially affecting millions of customers.
What the attacker needed
Access to the chatbot; access to the bill-checking portal; ability to intercept HTTP traffic
How it was found
- Open the chatbot and select the bill check option.
- Enter a twelve-digit account ID.
- Observe that a valid ID triggers an OTP to the registered mobile, while an invalid ID is rejected.
- On the bill-checking portal, enter a valid ID and click Pay Now.
- Capture the outbound request to the payment gateway.
- Decode the URL-encoded request to see unmasked name, email, and phone.
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 chatbot on a website would tell you if an account number was real by sending a code to the owner's phone. Separately, when you clicked 'Pay Now', the website sent your full name, email, and phone number to a payment company in a format that is easy to read. By combining these two, an attacker could find many real account numbers and then collect personal details for each one.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.