Acronis · Report #982442
XSS in https://promo.acronis.com/
Validstatus
lowseverity
25upvotes
26 Aug 2024disclosed
How it was found
Hello,
I found DOM XSS in https://promo.acronis.com/
Open this URL https://promo.acronis.com/GL-Trial-MassTransit.html and view source.
Search for document.write and there will be 4 statements inside try/catch block.
{F988381}
The last statement loads script from using document.referrer. So we can host a page that loads https://promo.acronis.com/GL-Trial-MassTransit.html in iframe. So it will load the script /marketo/common.js from our domain.
Steps To Reproduce
- To create server I am using Node.js you can use static files also.. If you are using static files server make sure to create
/marketo/common.jsfile. - Create a director and copy this file F988371 in it.
- Run
npm init -y - and then
npm i expressto install exprss. - Now run
node index.jsthis will start server on 'localhost:5000' - Open http://localhost:5000 and you will see alert.
{F988380}
Impact
Anyone who opens this page, attacker can execute JavaScript code on their device or redirect victims to phishing websites.