HexBrain

MTN Group · Report #1264832

Reflected Cross-Site scripting in : mtn.bj

Validstatus
highseverity
33upvotes
26 Sept 2021disclosed

Summary

Writeup : ██████████

How it was found

Hello Team I have found a Reflected XSS vulnerability in mtn.jb by file name

Steps To Reproduce:

[add details for how we can reproduce the issue]

  1. go to : ████
  2. enter any email and press Suivant
  3. fill all the inputs by any data .
  4. in file upload upload any photo with payload file name : "><img src=x onerror=alert(document.cookie);.jpg

5 . the payload executed in the page

Supporting Material/References: 1 - video showing poc 2 - screenshot

Impact

An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original