RXSS - ████
A reflected cross-site scripting flaw existed on a login page because a crafted path segment containing an event handler was echoed back into the response. An attacker could send a victim a link that runs script in the site's context, letting them act as the victim.
Originally disclosed on HackerOne
- Triaged in 14 hours
- Fixed in 8 months
- Disclosed after 15 months
Hello, friends today when I was checking some sites I found this bug on your own website.
##Detalis XSS Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it. OWASP
##Steps To Reproduce
Go to Those Links.
https://███/(A(%22onerror='alert%601%60'testabcd))/Login.aspx?ReturnUrl=%2f
##Browsers I test them on Firefox and Google Chrome.
##Fix:- Filter input on arrival Encode data on output Use appropriate response headers Content Security Policy. These all are standards concepts for fix the XSS vulnerabilities.
Regards, xElkomy
Impact
View any information that the user is able to view. Modify any information that the user is able to modify. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user. || And I can used this for 1-Ad-Jacking 2-Session Hijacking 3-Bypassing CSRF protection 4-Crypto Mining ::::)))
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 a user-controlled path segment into the HTML response without encoding it, so an event handler in the URL executed in the browser.
Impact
An attacker could run script in the victim's session, potentially viewing or changing data the victim can access and acting on their behalf, though the report only demonstrates an alert.
What the attacker needed
Victim clicks a crafted link
The fix
The report recommends filtering input, encoding output, setting appropriate response headers and adding a Content Security Policy; it does not say a fix was deployed.
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 means a website takes something from the address or a form and puts it into the page without cleaning it first. Here a crafted link made the login page include a small script, so anyone who opened the link would run that script as if the site itself had sent it. The attacker only needs to trick someone into clicking.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.