Skip to content
XSS Disclosed report Beginner

xss on reset password page

The reset password page reflects the entered username without sanitisation, so a script payload executes in the browser. An attacker could steal cookies, redirect users, or chain the lack of CSRF protection for further harm.

0x53_0x52_0x59 Follow

Originally disclosed on HackerOne

  • Triaged in 40 hours
  • Fixed in 13 days
  • Disclosed after 2 months

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

The original report as published on HackerOne, by 0x53_0x52_0x59. 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 application reflects user-supplied input into the HTML response without output encoding or sanitisation.

Impact

An attacker could steal cookies, socially engineer users, or redirect them; the report also notes no CSRF protection, which could be chained.

What the attacker needed

Victim interacts with the reset password page

The fix

The page should sanitise and encode user input, and a character limit should be added.

How it was found

  1. Go to the reset password page URL.
  2. Enter a script payload in the username field.

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.

A website took whatever you typed into the username box and put it straight back on the page without cleaning it. If you type code instead of a name, the browser runs that code as if the site itself had written it. This lets an attacker run their own code in another user's browser.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from U.S. Dept Of Defense

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.