HexBrain

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

  1. 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.js file.
  2. Create a director and copy this file F988371 in it.
  3. Run npm init -y
  4. and then npm i express to install exprss.
  5. Now run node index.js this will start server on 'localhost:5000'
  6. 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.

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