Skip to content
IDOR Disclosed report Beginner

Broken Access Control(Horizontal Privilege Escalation).

The offers dashboard page accepted a phone number in the URL and displayed that account's data without checking that the logged-in user owned it. An attacker could change the number to view another subscriber's offers and potentially subscribe data or airtime to victims.

aliyueka Follow

Originally disclosed on HackerOne

Medium 6.5 View original
  • Triaged in 7 days
  • Fixed in 3 months
  • Disclosed after 13 months

SUMMARY access controls are broken, unauthorized users may gain access to sensitive information, modify data, or perform actions that they shouldn't be allowed to. This can lead to various security risks, including data breaches, unauthorized privilege escalation, and other malicious activities.

STEPS TO REPRODUCE STEP 1: Go to https://mtn.ng/offers/

STEP1.PNG
STEP1.PNG From the original on HackerOne

Enter your number and click on Submit Button

STEP2.PNG
STEP2.PNG From the original on HackerOne

Click on Ok

STEP3.PNG
STEP3.PNG From the original on HackerOne

STEP 2: Enter the OTP code sent to your number

STEP4.PNG
STEP4.PNG From the original on HackerOne

Click on Validate

STEP 3: MTN offer dashboard will automatically display

STEP5.PNG
STEP5.PNG From the original on HackerOne

https://mtn.ng/offers/list?phone=2348160817474

STEP 4: I changed the number that i logged in with my alternative number and it works successfully

STEP6.PNG
STEP6.PNG From the original on HackerOne

https://mtn.ng/offers/list?phone=2349138557692

In this situation an attacker change the phone number to number of his choice

Example: If you click on this link you will have access to my MTN number without an authentication https://mtn.ng/offers/list?phone=2349138557692

Impact

This vulnerability allow an attacker to access any MTN number in Nigeria and allow threat actors to subscribe data or airtime to the victims.

It can also allow attackers to send messages of their choice to their targeted victims and the victims might think that the message come from MTN.

Attachments

MTN_NG.mp4 From the original on HackerOne

The original report as published on HackerOne, by aliyueka. 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 phone number supplied in the URL query string instead of deriving the account from the authenticated session.

Impact

An attacker could view any MTN number's offers and may be able to subscribe data or airtime to victims; victims might mistake messages for MTN's.

What the attacker needed

A valid MTN phone number to log in; the victim's phone number

How it was found

  1. Open the offers page and enter a phone number, then submit.
  2. Enter the OTP sent to that number and validate.
  3. The offers dashboard loads with the phone number in the URL.
  4. Change the phone number in the URL to a different number and the page still loads that account's data.

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.

When you log in, the website should only show your own account details. Here, the page took a phone number from the web address and showed whatever account matched it, without checking that it was yours. That means anyone could swap in someone else's number and see their 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 aliyueka

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.