Skip to content
XSS Disclosed report Beginner

Cross-site Scripting (XSS) - Reflected on http://callertunez.mtn.com.gh/wap/noauth/sharedetail.ftl via `callback` parameter

A reflected cross-site scripting flaw existed in the callback parameter of a page on the callertunez site. An attacker could run script in a victim's browser and rewrite the page content.

renzi Follow

Originally disclosed on HackerOne

  • Triaged in 2 months
  • Fixed in 8 months
  • Disclosed after 3.4 years

Summary:

Hello, I found a Reflected Cross site Scripting (XSS) on http://callertunez.mtn.com.gh/wap/noauth/sharedetail.ftl via callback parameter . With this security flaw is possible rewrite the content of page, executing JS codes...

Steps To Reproduce:

How we can reproduce the issue:

  1. Go to http://callertunez.mtn.com.gh/wap/noauth/sharedetail.ftl?callback=">><img%20src=x%20onerror=confirm("Renzi")>&type=
  2. And we can see alert with Renzi message...
imagem_2021-04-03_012543.png
imagem_2021-04-03_012543.png From the original on HackerOne

Supporting Material/References:

Impact

  • The attacker can execute JS code.
  • Rewrite the content of Page

The original report as published on HackerOne, by renzi. 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 callback parameter was reflected into the page without output encoding or validation.

Impact

An attacker could execute script in a victim's browser and rewrite the page content.

What the attacker needed

Victim opens a crafted link

How it was found

  1. Open the sharedetail page with a crafted callback value containing an image tag with an error handler.
  2. Observe the script run and a confirmation dialog appear.

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 something an attacker supplied into a page without cleaning it, so the browser runs it as code. Here the callback value was reflected back into the page, so a crafted link could make the victim's browser run the attacker's script.

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 renzi

View all

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