Skip to content
XSS Disclosed report Beginner

Cross-Site Scripting through search form on mtnplay.co.zm

A search form on mtnplay.co.zm accepted JavaScript input in its Track, Album and Artist fields without proper sanitisation. An attacker could inject malicious JavaScript that would run in the context of the site.

cristiancornea Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 18 months
  • Disclosed after 18 months

Summary:

There is a XSS vulnerability that can be triggered through a search form on mtnplay.co.zm

Steps To Reproduce:

  1. Navigate to http://www.mtnplay.co.zm/smart/jqm.aspx
  2. Click on the search button (or go to this link: http://www.mtnplay.co.zm/smart/jqm.aspx?event=search&mnu=search&ctrlid=92)
  3. Click on the filter button
  4. The XSS can be triggered in any field of that form by inputting a javascript payload (Track/Album/Artist)

Demonstration:

https://www.youtube.com/watch?v=doLHsUqnvgE

Impact

Malicious javascript code can be injected into the application

The original report as published on HackerOne, by cristiancornea. 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

Malicious JavaScript could be injected into the application and run in a visitor's browser.

What the attacker needed

Attacker inputs a JavaScript payload into a search form…

How it was found

  1. Open the smart/jqm.aspx page on the site.
  2. Open the search form.
  3. Click the filter button.
  4. Type a JavaScript payload into the Track, Album or Artist field to trigger the script.

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 takes text a user types and puts it back on the page without cleaning it first. If that text is actually code, the browser runs it as if the site itself had written it. Here, typing code into a search box made the site run that code.

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 cristiancornea

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.