Skip to content
XSS Disclosed report Beginner

Reflected XSS on play.mtn.co.za

A reflected cross-site scripting flaw was found on play.mtn.co.za in the page parameter, allowing an attacker to inject script that runs in a victim's browser. The attacker could then access cookies and local storage to impersonate the user or modify page content.

lu3ky-13 Follow

Originally disclosed on HackerOne

  • Triaged in 10 days
  • Fixed in 7 months
  • Disclosed after 8 months

hello dear

I have found Reflected XSS on play.mtn.co.za parameters injectable ?page=2

my payload "><img src=x onerror=prompt``>;<video>

URL: https://play.mtn.co.za/callertunez/?page=2%27%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E&search=A

zzzzzzzzzzzzzzzzzzzzzzz.PNG
zzzzzzzzzzzzzzzzzzzzzzz.PNG From the original on HackerOne

Impact

Malicious JavaScript has access to all the same objects as the rest of the web page, including access to cookies and local storage, which are often used to store session tokens. If an attacker can obtain a user's session cookie, they can then impersonate that user.

Furthermore, JavaScript can read and make arbitrary modifications to the contents of a page being displayed to a user. Therefore, XSS in conjunction with some clever social engineering opens up a lot of possibilities for an attacker.

The original report as published on HackerOne, by lu3ky-13. 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 page parameter was reflected into the HTML response without proper output encoding or sanitisation.

Impact

An attacker could steal session cookies or local storage to impersonate the user, and could modify the page content shown to the victim.

What the attacker needed

Victim clicks a crafted link

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.

Cross-site scripting (XSS) is when a website puts user-supplied text into a page without making it safe, so a malicious link can make the site run an attacker's JavaScript. Here the page parameter was reflected back into the HTML, so a crafted link could run code in the victim's browser. That code can read cookies and local storage, which often hold login sessions.

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 lu3ky-13

View all

30 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.