Skip to content
IDOR Disclosed report Beginner

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.

bughunter0x7 Follow

Originally disclosed on HackerOne

Medium 5.7 View original
  • 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.

The original report as published on HackerOne, by bughunter0x7. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by bughunter0x7

View all

3 more disclosed reports, best first.

More from Mars

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.