Skip to content
Access control Disclosed report Intermediate CVE-2019-15684

Kaspersky Protection extension for Google Chrome is vulnerable to abuse its features

The Kaspersky Protection Chrome extension exposes a web-accessible warning page that accepts postMessage commands without origin checks, allowing any website to trigger extension uninstallation. An attacker could cause the extension to uninstall itself or other extensions, though Chrome may prompt for confirmation except for Kaspersky's own removal.

palant Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 7 months
  • Paid in 14 days
  • Disclosed after 11 months

Summary The Google Chrome extension "Kaspersky Protection" (installed automatically by Kaspersky Internet Security) can be tricked by arbitrary websites into uninstalling browser extensions.

Description Kaspersky Protection for Google Chrome has some functionality to uninstall malicious browser extensions. The uninstallation is triggered by the warning page. Since that page is marked as web accessible, any website can load this frame. Also, the page receives its data (including the extension to be uninstalled) via a regular postMessage() call and doesn't check message origin - any website can send this.

This issue is somewhat alleviated by the fact that recent Chrome versions will no longer allow extension-triggered uninstalls without an additional user confirmation. So the browser will display an additional prompt. Uninstalling the Kaspersky Protection extension itself doesn't produce such a prompt however.

Environment

  • Scope: Application
  • Product name: Kaspersky Internet Security
  • Product version: 19.0.0.1088
  • OS name and version (incl SP): Windows 10.0.17134
  • Attack type: Command injection
  • Maximum user privileges needed to reproduce your issue: no privileges

Steps to reproduce First uninstalling Adblock Plus extension:

  1. Make sure that Kaspersky Protect extension is enabled in Chrome.
  2. Make sure to install Adblock Plus in Chrome from https://chrome.google.com/webstore/detail/adblock-plus/cfhdojbkjhnklbpkdaibdccddilifddb.
  3. Download the attached remove_extension.html file and open it in Chrome (opening from local filesystem will work).
  4. Move your mouse and click somewhere on the page.

Note how the browser displays a prompt to remove Adblock Plus, noting that the removal was requested by Kaspersky Protect. Despite the prompt being very clear, there is potential for social engineering here, e.g. if the page claims that Kaspersky detected a malicious extension.

Now uninstalling Kaspersky Protect extension itself:

  1. Make sure that Kaspersky Protect extension is enabled in Chrome.
  2. Download the attached remove_self.html file and open it in Chrome (opening from local filesystem will work).
  3. Move your mouse and click somewhere on the page.

Note how Kaspersky Protect extension is completely gone, and with it any protection it provided. For non-technical users, there is no way to recover: Chrome will no longer offer you to install the extension unless you create a new browser profile. And while the extension is in Chrome Web Store, it is unlisted and cannot be found through search.

Impact

Arbitrary websites can make Kaspersky Protect extension uninstall itself. They can also trigger uninstallation of other browser extensions but have to rely on social engineering for the user to confirm the uninstall prompt.

The original report as published on HackerOne, by palant. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

Arbitrary websites can make Kaspersky Protection uninstall itself, removing its protection, and can also trigger uninstallation of other extensions but must rely on social engineering for the user to confirm the prompt.

What the attacker needed

Kaspersky Protection extension installed; Victim visits a malicious website; Victim clicks on the page

How it was found

  1. Ensure Kaspersky Protection extension is enabled in Chrome.
  2. Install Adblock Plus from the Chrome Web Store.
  3. Download the provided remove_extension.html file and open it in Chrome.
  4. Move the mouse and click somewhere on the page.
  5. Observe the browser prompt to remove Adblock Plus, requested by Kaspersky Protection.
  6. For self-uninstall: download remove_self.html, open it, move mouse and click, then note Kaspersky Protection is completely gone.

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 browser extension called Kaspersky Protection has a special page that can remove other extensions. This page can be loaded by any website, and it listens for messages from any website without checking who sent them. So a malicious website can tell the page to uninstall extensions, including Kaspersky Protection itself.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by palant

View all

12 more disclosed reports, best first.

More from Kaspersky

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.