Skip to content
XSS Disclosed report Beginner

Cross-site Scripting (XSS) - Reflected on http://h1b4e.n2.ips.mtn.co.ug:8080 via Nginx-module

A reflected cross-site scripting flaw exists on a status page served through an Nginx module, where a crafted URL causes script execution. An attacker could run JavaScript in a victim's browser and rewrite the page content.

renzi Follow

Originally disclosed on HackerOne

  • Triaged in 6 days
  • Fixed in 7 months
  • Disclosed after 3.4 years

Summary:

Hello, I found a Reflected Cross site Scripting (XSS) on http://h1b4e.n2.ips.mtn.co.ug:8080 . 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://h1b4e.n2.ips.mtn.co.ug:8080/status%3E%3Cscript%3Ealert(31337)%3C%2Fscript%3E
  2. We can see alert message 31337
imagem_2021-04-09_145402.png
imagem_2021-04-09_145402.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 status page reflects part of the URL path into the HTML response without encoding it, so a script tag in the path is executed by the browser.

Impact

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

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 takes something from the URL and puts it into the page without cleaning it first. Here, a specially crafted link makes the page run code written by the attacker. If someone clicks that link, the attacker's code runs in their browser as if it came from the site.

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.