Skip to content
XSS Disclosed report Beginner

Reflected XSS

A reflected cross-site scripting flaw existed in the login page's url parameter, allowing an attacker to inject script that executes in a victim's browser. An attacker could use this to steal cookies or redirect users to malicious sites.

f6x Follow

Originally disclosed on HackerOne

  • Triaged in 12 hours
  • Fixed in 5 months
  • Disclosed after 14 months

Description: Hi i found a XSS at a new IP Address (ssl points to ███hostname)

https://███████/WebPuff5.4/Login?signIn=Sign%20In&password=g00dPa%24%24w0rD&url=login.jsp%27%22()%26%25%3Cacx%3E%3CScRiPt%20%3Ealert(9868)%3C/ScRiPt%3E&username=tMtFQiRt

References

https://owasp.org/www-community/attacks/xss/

Impact

With the help of xss a hacker or attacker can perform social engineering on users by redirecting them from real website to fake one. hacker can steal their cookies and download a malware on their system, and there are many more attacking scenarios a skilled attacker can perform with xss.

System Host(s)

███████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

click here and a alert will popup https://█████/WebPuff5.4/Login?signIn=Sign%20In&password=g00dPa%24%24w0rD&url=login.jsp%27%22()%26%25%3Cacx%3E%3CScRiPt%20%3Ealert(9868)%3C/ScRiPt%3E&username=tMtFQiRt

Suggested Mitigation/Remediation Actions

Sanitize special character in the url

The original report as published on HackerOne, by f6x. 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 reflected the url parameter into the HTML response without encoding or sanitising special characters.

Impact

An attacker could perform social engineering by redirecting users to a fake site, steal their cookies, or download malware onto their system.

What the attacker needed

Victim clicks a crafted link

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.

Cross-site scripting (XSS) is when a website takes input from a user and puts it into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the login page's url parameter was reflected back into the page, so a crafted link would pop up an alert box in the victim's browser. That same trick could be used to steal login cookies or send the user to a fake site.

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.