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
- Go to registration page ( https://████ ), insert
<svg/onload=confirm(document.cookie)>payload in firstname and lastname fields and create account. - Verified your account.
- Go to login page and login your account.
- And XSS will triggered ( XSS also triggered in
My Profilepage) .
Suggested Mitigation/Remediation Actions
- Filter input on arrival.
- Encode data on output.
- Content Security Policy