Users Data Exposure via Insecure Endpoint
An unauthenticated API endpoint on the Mars Royal Canin website returned customer personal data when given a numeric code parameter. An attacker could brute-force all four-digit combinations to access names, phone numbers, emails, addresses and postal codes of users.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 2 months
- Disclosed after 6 months
Summary by the program
An insecure endpoint on the Mars Royal Canin website (█████████ ) is exposing sensitive customer information without proper authentication. The vulnerability allows unauthorized access to personal data including full names, phone numbers, email addresses, physical addresses, and postal codes. This data exposure occurs through a simple API endpoint that can be accessed by anyone with knowledge of its existence. The endpoint reveals customer data when provided with a numeric code parameter, and all user information can potentially be accessed by brute-forcing this parameter using all possible 4-digit combinations. This type of vulnerability is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), which represents a significant privacy concern for affected users.
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 lacked authentication and authorization checks and used a short, guessable numeric identifier to look up customer records.
Impact
Personal data of customers, including names, phone numbers, emails, addresses and postal codes, could be harvested by anyone who knows the endpoint, creating a privacy risk.
What the attacker needed
Knowledge of the endpoint; no account needed
The fix
The report does not state a fix; it notes the endpoint lacks proper 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 report has not been written yet. The Original tab links to the source.
A website had a hidden web address (an API endpoint) that, when asked for a particular number, gave back a customer's private details. Nobody had to log in to use it. Because the number was only four digits long, someone could try every possible number and collect everyone's information.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.