Username and sim id enum
A page that removes a SIM card from an account revealed whether a given username and SIM card identifier existed, based on different responses. An attacker could use this to enumerate valid usernames and SIM card IDs.
Originally disclosed on HackerOne
- Disclosed after 22 days
Look at this url (GET request) https://mobilevikings.be/en/sims/authorization/remove/admin/1036358/ - looks good - admin user detected https://mobilevikings.be/en/sims/authorization/remove/lloyd/1036358/ - looks good - lloyd user detected https://mobilevikings.be/en/sims/authorization/remove/lloydxxx/1036358/ - there is no lloydxxx user Sim card id (exist username should be used - lloyd in this case): https://mobilevikings.be/en/sims/authorization/remove/lloyd/1036358/ - sim card id 1036358 detected https://mobilevikings.be/en/sims/authorization/remove/lloyd/1036359/ - sim card id 1036359 detected https://mobilevikings.be/en/sims/authorization/remove/lloyd/1036351/ - there is no sim card id 1036351
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint returned distinct responses for existing versus non-existing usernames and SIM IDs instead of a single generic response.
Impact
An attacker could confirm which usernames and SIM card IDs are valid, which may help target further attacks; the text does not show any actual removal or account takeover.
What the attacker needed
None stated in the text
How it was found
- Request the removal URL with a known username and note the 'user detected' response.
- Request the same URL with a made-up username and note the 'no user' response.
- Request the URL with a known username and a valid SIM ID and note it is detected.
- Request the URL with the same username and an invalid SIM ID and note it is not detected.
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 report has not been written yet. The Original tab links to the source.
Some web pages answer differently depending on whether the thing you asked about exists. Here, the site said 'user detected' for real usernames and 'no user' for fake ones, and did the same for SIM card numbers. By trying many values, someone could learn which accounts and SIM cards are real.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.