Stored XSS at https://finance.owox.com/customer/accountList
A stored cross-site scripting flaw existed in the customer account list page because the server did not escape quotes and angle brackets in the username field. An attacker could save a script payload as a username and have it execute in the browser of anyone who viewed the account list.
- Fixed in 15 hours
- Disclosed after 53 days
Summary by the program
XSS on finance.owox.com instance
POC:
- Login to zhe site
- Go to the https://finance.owox.com/customer/accountList
- You will be XSSed immediately.
Reproduce steps:
Place in the username next payload: "><script>alert(document.cookie);</script> 3) Go to the https://finance.owox.com/customer/accountList. You will be XSSed since server not escaping quotes and <> entities.
Summary by the researcher
I found simple Stored XSS in the finance.owox.com instance. The OWOX team responded in the same day, and fixed the issue very quickly.
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
The server did not escape quotes and angle brackets when rendering the stored username on the account list page.
Impact
An attacker could run script in the browser of anyone who viewed the account list.
What the attacker needed
A logged-in account; ability to set a username
The fix
The issue was fixed by the team, who responded the same day.
How it was found
- Log in to the site.
- Go to the account add page.
- Enter a script payload in the username field.
- Go to the account list page, where the payload executes.
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, or XSS, is when a website shows text that a user supplied without making it safe, so the browser treats it as code and runs it. Here the username was saved and later displayed on a page without escaping special characters, so a script hidden in the username ran for anyone who opened that page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.