Unprotected Direct Object Reference
The report claims that a success page on a national identity service can be accessed without submitting an identity number, and that changing a numeric parameter in the URL reveals other users' submitted national identity numbers. An attacker could enumerate these numbers and potentially misuse them.
Originally disclosed on HackerOne
- Triaged in 5 months
- Fixed in 7 months
- Disclosed after 8 months
Hello MTN Security Team, During my hunting, I discovered that there's an Insecure Direct Object Reference on https://nin.mtnonline.com Vulnerable Path: https://nin.mtnonline.com/nin/success?message=1
Steps To Reproduce: You may not even require to submit any NIN before accessing this unprotected page, Just visit https://nin.mtnonline.com/nin/success?message=1
I discovered that, to see other user's NIN, it only require 2 difference , example https://nin.mtnonline.com/nin/success?message=3 https://nin.mtnonline.com/nin/success?message=5 https://nin.mtnonline.com/nin/success?message=7 https://nin.mtnonline.com/nin/success?message=9 https://nin.mtnonline.com/nin/success?message=11 https://nin.mtnonline.com/nin/success?message=1901 https://nin.mtnonline.com/nin/success?message=1903 https://nin.mtnonline.com/nin/success?message=8001
Impact
This bug exposed all the submitted Nigerians National Identity Number (NIN) .which can be abused in other way else if found out by a malicious person
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 success page uses a predictable numeric identifier to look up a submission and does not verify that the requester owns that submission or is authenticated.
Impact
The report claims that all submitted national identity numbers were exposed, which could be abused by a malicious person, though no evidence of the actual data shown is provided.
What the attacker needed
None
How it was found
- Visit the success page URL directly without submitting an identity number.
- Change the numeric message parameter to a different value.
- Observe that another user's identity number is displayed.
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 web page that shows a record often uses a number in the address to pick which record to show. If the site does not check that the person asking is allowed to see that record, anyone can change the number and see someone else's information. Here, the page that confirms a submission could be opened directly, and changing the number appeared to show other people's identity numbers.
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.