Skip to content
XSS Disclosed report Beginner

Reflected XSS in https://nin.mtn.ng/nin/success?message=lol&nin=<VULNERABLE>

The nin parameter on a success page reflected unsanitised input, allowing an attacker to inject a script that runs in a victim's browser. An attacker could execute JavaScript in the victim's browser.

hazemhussien99 Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 16 days
  • Fixed in 2 months
  • Disclosed after 15 months

###Summary: Hello team, Found a reflected XSS on one your domains i believe https://nin.mtn.ng/nin/success?message=msg&nin= as the nin parameter is vulnerable. Please check the following PoC: Run the following command from a terminal: curl -ski "https://nin.mtn.ng/nin/success?message=lol&nin=<script>alert(1)</script>" | grep "alert"

mtn.png
mtn.png From the original on HackerOne

I reported this before in report #1737682 but it was closed as resolved while still vulnerable.

Impact

Attacker could execute js in the victim's browser.

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

Impact

An attacker could execute JavaScript in the victim's browser, though the report gives no further detail on what that script could achieve.

What the attacker needed

Victim loads a crafted URL containing the payload

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 reflected XSS bug means a website puts something from the address bar straight into the page without cleaning it. Here the 'nin' value was placed into the page, so a crafted link could make the victim's browser run the attacker's JavaScript.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.