A bug bounty assessment uncovered a chain of three independent weaknesses that, combined, made it possible to identify and enumerate registered users from partially masked phone numbers.
The chain relied on:
- Information disclosure on a public winners page — the page exposed winners’ phone numbers with four digits hidden, without requiring authentication.
- User enumeration in the password-reset flow — the system returned distinguishable responses for registered and unregistered phone numbers.
- Weak anti-automation controls — rate limiting slowed the attack but did not stop it.
Individually, each issue may look moderate. Together, they create a realistic path from a public masked number to a confirmed account, and from there to targeted phishing, account takeover attempts, and social engineering.
No authentication was required, and no user interaction was needed.
The Findings
1. Public Winners Page Discloses Partially Masked Phone Numbers
The public winners page could be accessed without login and displayed a list of winners along with partially masked mobile numbers. Four digits were hidden.
At first glance, masked numbers may seem low-risk. In practice, they provide a high-value starting point:
- Winners are likely to have prize credit, wallet balance, or other account value.
- Masking only four digits reduces the search space from the full number space to 10,000 possible candidates per masked number.
In other words, the page does not just disclose a list of names or identifiers. It discloses a list of likely high-value targets with a dramatically reduced guessing space.
2. Password-Reset Flow Reveals Whether an Account Exists
The password-reset flow returned different responses depending on whether a submitted phone number belonged to a registered account. The differences appeared in response status, response length, or error messaging.
This is a classic user enumeration issue. An attacker does not need an account to determine whether a given phone number exists in the system. They only need to submit numbers and observe the difference.
3. Rate Limiting Slows the Attack but Does Not Prevent It
The system did have rate limiting, but it was not sufficient:
- Responses disclosed the remaining request count through a rate-limit header.
- The reset window was approximately 40 to 80 seconds, with only 10 requests allowed per window.
- The limit appeared to be applied per flow or component rather than as a robust, multi-dimensional control.
- There was no effective exponential backoff, ASN-based restriction, bot detection, or global abuse prevention.
The result was predictable: an attacker could wait out the window, resume requests, and continue enumerating at a meaningful scale.
The Attack Chain
The real risk came from combining the three issues:
Public winners list with masked phone numbers ↓ Generate 10,000 candidates per masked number ↓ Query the password-reset flow for each candidate ↓ Distinguish registered from unregistered numbers ↓ Confirm full phone numbers of winners ↓ Targeted phishing, OTP abuse attempts, social engineering ↓ Potential account takeover if other layers are weak Each step is simple. The chain is what makes it dangerous.
Proof of Concept — Sanitized
The proof of concept did not require IP rotation, proxies, or parallel infrastructure.
The general process was:
- Collect the publicly available masked numbers from the winners page.
- Generate the 10,000 possible full numbers for each masked entry.
- Submit candidate numbers to the password-reset flow.
- Compare responses to determine whether each candidate was registered.
- Monitor rate-limit behavior and pause when the request window was exhausted.
- Resume after the reset window and continue.
After several hours, the script successfully reconstructed two full phone numbers and recorded them as confirmed hits.
This was achieved without changing IP addresses, without proxies, and without parallelization. That means the demonstrated result represents a lower bound on attacker capability, not an upper bound.
With multiple IPs, parallel workers, or commercial proxy pools, the same process could move from hours to minutes.
Why This Matters
Winners Are High-Value Targets
Winners are not random users. They are users who have received prizes or may hold account credit. Disclosing their full phone numbers is a direct privacy violation and converts them into identified targets.
Targeted Phishing Becomes More Convincing
A generic phishing campaign has to guess. An attacker who knows a user is a real, active winner can craft a message that is far more credible:
“To claim your prize from the lucky wheel, open this link.”
For a user who actually won something, that message is much more believable than a generic scam.
User Enumeration Enables Social Engineering
Once an attacker confirms that a phone number is registered, they can use that fact in support interactions. Many support teams treat “this account exists” as a trust signal. Attackers can exploit that assumption to extract more information or push the interaction toward account recovery abuse.
The Rate Limit Is Not a Real Defense
A rate limit that only reduces speed is still useful, but it is not sufficient when the attack space is only 10,000 candidates per target. The attacker can wait. The attacker can resume. The attacker can distribute requests. The system needs controls that stop the behavior, not just delay it.
Business and Compliance Risk
- User trust: Public disclosure that winners’ phone numbers can be reconstructed damages brand credibility.
- Privacy regulation: In many jurisdictions, mobile numbers are personal data. Exposing them may violate data protection requirements.
- Civil liability: If the exposed data is used against users through phishing or fraud, the organization may face legal and reputational exposure.
Remediation Recommendations
Fix the Winners Page
- Remove phone numbers entirely from the public winners list.
- If some display is required, show only a first name and last-name initial.
- Replace phone numbers with non-guessable internal identifiers.
- Require authentication for any more detailed winner information.
Fix the Password-Reset Flow
- Return uniform responses for registered, unregistered, and invalid numbers.
- Keep status codes, response lengths, and timing consistent.
- Use a generic message such as: “If this number exists in our system, a recovery code will be sent.”
Strengthen Rate Limiting and Anti-Automation
- Use exponential backoff instead of fully resetting the window.
- Limit by a combination of IP, session, and target phone number.
- Add bot detection based on request velocity, repetition patterns, headers, and timing.
- Introduce CAPTCHA after a defined number of failed attempts.
- Avoid exposing remaining request counts in public responses.
Add Defense in Depth
- Limit SMS sends per phone number within a reasonable time window.
- Alert users about unusual password-reset requests.
- Monitor and log suspicious behavior in the password-reset flow.
- Treat user enumeration as a security issue even when no account is compromised directly.
Conclusion
This was not a single dramatic bug. It was a chain of three ordinary-looking weaknesses:
- A public page leaked partial phone numbers of high-value users.
- The password-reset flow confirmed whether an account existed.
- Rate limiting slowed the attack but did not stop it.
Together, they created a practical path from masked public data to confirmed user identities, and from there to targeted phishing and account takeover attempts.
The sanitized proof of concept confirmed that the chain was exploitable in practice. Because the targets were winners with likely account value, and because the path toward account takeover was realistic, this issue warranted prompt remediation.
The lesson is simple: masked data is not anonymous data when the remaining search space is small, and user enumeration becomes far more serious when it is combined with a high-value target list and weak anti-automation controls.
All testing was performed within the authorized bug bounty scope. No live endpoints, hostnames, or request paths are included in this publication.
