From Brute-Force to Bounty: My $200 and Double XSS Win on Acronis
The login callback URL on an Acronis learning portal accepted a redirect parameter that could contain a javascript: URL, allowing script execution in the victim's browser. A second, similarly named parameter was also vulnerable to the same flaw.
medium.com
Published on medium.com
In the world of cybersecurity, bug bounty programs stand as a crucial bridge between organizations and security researchers. These programs incentivize ethical hackers to identify and report vulnerabilities, ultimately making the digital world safer.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application placed the redirect parameter value into a script or navigation sink without validating that it was a safe URL, so a javascript: scheme was executed.
Impact
An attacker could run script in a victim's session on the Acronis portal, potentially acting as that user; the text does not describe any further exploitation.
What the attacker needed
Victim clicks a crafted link; victim is logged in to the portal
How it was found
- Craft a URL for the portal with the redirectUrl parameter set to a javascript: value.
- Send the link to a logged-in user and get them to click it.
- The script runs in the context of the Acronis portal.
- Brute-force variations of the parameter name and find redirect_url, which is also vulnerable.
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 write-up has not been written yet. The Original tab links to the source.
A web page can be tricked into running JavaScript code supplied in its address. Here, a parameter meant to send you back to the right page after login accepted a 'javascript:' value, so clicking a crafted link ran the attacker's script as if it were part of the site. That lets the attacker act as the logged-in user on that site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.