Skip to content
XSS Disclosed report Beginner CVE-2020-17453

Cross-site Scripting (XSS) - Reflected on https://api.mtn.sd/carbon/admin/login.jsp via `msgId` parameter - CVE-2020-17453

A reflected cross-site scripting flaw existed in the msgId parameter of a WSO2 Carbon admin login page. An attacker could run JavaScript in a victim's browser and rewrite the page content.

renzi Follow

Originally disclosed on HackerOne

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

Hello,

I found a Reflected Cross site Scripting (XSS) on https://api.mtn.sd/carbon/admin/login.jsp, CVE-2020-17453 . 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 https://api.mtn.sd/carbon/admin/login.jsp?msgId=%27%3Balert(%27Renzi%27)%2F%2F 2.And we can see alert with Renzi message...

imagem_2021-04-09_101308.png
imagem_2021-04-09_101308.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 msgId request parameter was reflected into the login page without proper output encoding.

Impact

The attacker can execute JavaScript in the page and rewrite its content.

What the attacker needed

Victim opens a crafted link

The fix

The parameter should be output-encoded before being placed in the page; the report links a vendor advisory but does not state that this instance was fixed.

How it was found

  1. Open the Carbon admin login page with a crafted msgId value in the query string.
  2. Observe that the script in the parameter runs and an alert appears.

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 msgId value in the web address ended up in the page, letting a script run. A victim would need to open a crafted link.

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.