RXSS on █████████
A parameter on a web page was not filtered, so a double-quote character could break out of the surrounding context and run JavaScript. An attacker could use this to act as a victim user, view or change their information, and interact with other users.
- Triaged in under an hour
- Fixed in 5 days
- Disclosed after 2 months
Description:
the WhatSubmitted parameter not filtered, i can insert " character and execute code JS
Impact
Perform any action within the application that the user can perform. 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.
System Host(s)
████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Open URL: https://██████/SA1/SAReplay/default.asp?WhatSubmitted=Empty%22;-alert(%27tmz900%27)//&AgentID=0123&SARA=0&StartAt=07/06/22&StopAt=03/23/08
- You will see an alert box pup up:
██████████
Suggested Mitigation/Remediation Actions
Filter input on arrival Encode data on output Use appropriate response headers Content Security Policy.
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 perform any action the victim can, view or modify their information, and interact with other users as the victim.
What the attacker needed
Victim opens a crafted link
The fix
The parameter should be filtered on arrival and encoded on output, with suitable response headers and a Content Security Policy added.
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 reflected cross-site scripting (XSS) bug happens when a website puts something you typed into a page without cleaning it first. Here the site placed the value of a URL parameter into the page, and a double-quote character let the attacker close the existing code and add their own JavaScript. That script then runs in the browser of anyone who opens the crafted link, as if the site itself had sent it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.