HexBrain

Acronis · Report #970878

Reflected XSS via "Error" parameter on https://admin.acronis.com/admin/su/

Validstatus
mediumseverity
$50bounty
39upvotes
19 Jul 2021disclosed

How it was found

Summary

Hello,

There is possible to inject arbitrary HTML constructions on the page /admin/su/. The problem is in the insufficient escaping of special characters (like <>) for the Error parameter. If this parameter contains a specially crafted vector, the application will return the page that will reflect this vector directly into the HTML response without proper encoding.

This XSS vector will work in most modern browsers.

Steps To Reproduce

  1. Open the next URL in the browser: https://admin.acronis.com/admin/su/?Error=%3cscript%3ealert(document.domain)%3c%2fscript%3e

{F969715}

The XSS will be executed automatically when the page will be loaded.

Impact

A cross-site scripting attack against the application's clients can be used to obtain user authentication information (like cookies), phishing or malware spreading. In this case, an authorized user can be the primary target of this attack, so cookie and credentials stealing are possible ways to exploit this vulnerability.

Recommendations

It's recommended to provide the processing of web application user input by replacing potentially insecure characters that could be used to format HTML pages to their equivalents that are not HTML format characters. This should be done for any data obtained from external sources and displayed in a browser (including HTTP headers, like Referer).

Impact

A cross-site scripting attack against the application's clients can be used to obtain user authentication information (like cookies), phishing or malware spreading. In this case, an authorized user can be the primary target of this attack, so cookie and credentials stealing are possible ways to exploit this vulnerability.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original