HexBrain

U.S. Dept Of Defense · Report #1620247

Stored XSS at https://█████

Validstatus
highseverity
13upvotes
6 Sept 2022disclosed

How it was found

Description: In registeration page ( https://████ ) , first name and last name field are vulnerable to Stored Cross Site Scripting.

Proof of concept

For the fastly test, use this credentials to login (my test account)

email: █████████ password: ██████

After login , alert document.cookie will triggered

Impact

Stored Cross Site Scripting which attacker can execute malicious javascript payload.

System Host(s)

████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Go to registration page ( https://████ ), insert <svg/onload=confirm(document.cookie)> payload in firstname and lastname fields and create account.
  2. Verified your account.
  3. Go to login page and login your account.
  4. And XSS will triggered ( XSS also triggered in My Profile page) .

Suggested Mitigation/Remediation Actions

  1. Filter input on arrival.
  2. Encode data on output.
  3. Content Security Policy

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