Reflected XSS
The application reflects unsanitised user input from the URL path into the page, allowing an attacker to inject a script that executes when a victim logs in. An attacker could run arbitrary JavaScript in the victim's browser after they authenticate.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 8 hours
- Disclosed after 30 days
Hi team,
I have found an XSS at https://bi.owox.com/ui/6177527534dc114eb07fa829e4ce4d28/dashboard/?trial=activated Because the input is not properly filtered, resulting in XSS being executed Vulnerable area:
6177527534dc114eb07fa829e4ce4d28
The URL will now be: https://bi.owox.com/ui/6177527534dc114eb07fa829e4ce4d28%3Cimg%20src=xss%20onerror=prompt('XSS')%3E/dashboard/?trial=activated
PoC
1, go to https://bi.owox.com/ui/6177527534dc114eb07fa829e4ce4d28%3Cimg%20src=xss%20onerror=prompt('XSS')%3E/dashboard/?trial=activated
2, Log in and XSS will execute
██████████
Tested browser
Firefox Chrome
Impact
This vulnerability is aimed at all victims and they do not need to be involved in the Project. Just paste this URL and login, XSS will automatically execute.
Therefore, it will have a high impact, because before XSS is executed, the application will ask the user to login.
- The attacker can execute JS code.
████████ ████████
Documents related to Impact
https://portswigger.net/web-security/cross-site-scripting/reflected https://portswigger.net/web-security/cross-site-scripting/exploiting
Recommendation
- Revisit the entire application and validate the user input at server side.
- Sanitize the data collected from input fields before further processing.
- Filter out special and meta-characters from user input.
Best regards, @dat
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
Impact
An attacker could execute JavaScript in a victim's browser after the victim logs in.
What the attacker needed
Victim clicks a crafted link; victim logs in
The fix
The application should validate and sanitise user input on the server side.
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 something a user typed or clicked and puts it directly into the page without cleaning it first. Here, a part of the web address is inserted into the page, so if it contains code, the browser runs it. The attacker just needs to trick someone into visiting a specially crafted link and logging in.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.