HexBrain

U.S. Dept Of Defense · Report #1763404

xss on reset password page

Validstatus
mediumseverity
14upvotes
6 Jan 2023disclosed

How it was found

target:https://█████/Default.aspx?TabId=81&ctl=SendPassword&returnurl=%252fUOTSHelpDesk

When a user goes on the forget password page and enters a username it is reflected onto the page. An attacker could simply enter a username like <script>alert(1)</script> and it would execute an alert not to mention there is no csrf protection allowing a attacker to possibly chain csrf with this and cause alot of harm.

references: https://owncloud.com/security-advisories/reflected-xss-in-login-page-forgot-password-functionallity/ https://hackerone.com/reports/125059

Impact

an attacker could steal cookies from a user social engineer them or redirect them

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

go to https://████/Default.aspx?TabId=81&ctl=SendPassword&returnurl=%252fUOTSHelpDesk enter a payload in username field

Suggested Mitigation/Remediation Actions

put a character limit and sanitize user input

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