[████████] RXSS via "CurrentFolder" parameter
The CurrentFolder parameter on a resources page was reflected into the HTML without escaping, so a crafted link could run script in the victim's browser. An attacker could use that to act as the victim or read data the victim can see.
- Triaged in 22 hours
- Fixed in 9 days
- Disclosed after 18 months
The website █████ is vulnerable to reflected cross-site scripting via the CurrentFolder parameter.
How to reproduce?
Visit: https://██████/landpower/resources.aspx?Directory=/20/&ParentID=27&CurrentFolder=%3Cimg%20src%20onerror=alert(domain)%3EResources&ID=17263
███
Resources:
https://portswigger.net/web-security/cross-site-scripting
Impact
An attacker who exploits a cross-site scripting vulnerability is typically able to:
- Impersonate or masquerade as the victim user.
- Carry out any action that the user is able to perform.
- Read any data that the user is able to access.
- Capture the user's login credentials.
- Perform virtual defacement of the web site.
- Inject trojan functionality into the web site.
System Host(s)
████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Visit: https://██████████/landpower/resources.aspx?Directory=/20/&ParentID=27&CurrentFolder=%3Cimg%20src%20onerror=alert(domain)%3EResources&ID=17263
Suggested Mitigation/Remediation Actions
Escape user input
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 inserted the CurrentFolder value into the page without HTML-encoding it.
Impact
An attacker could impersonate the victim, perform actions as them, read their data, capture their login credentials, deface the site, or inject trojan functionality.
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.
A reflected cross-site scripting bug means a value from the web address is placed straight into the page without being made safe. If that value is a small piece of code, the browser runs it as if the site itself had written it. Someone who clicks a prepared link could then have actions taken on their account without knowing.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.