cve.bz

CAPEC-698

Install Malicious Extension

High severityMedium likelihoodDetailed pattern

An adversary directly installs or tricks a user into installing a malicious extension into existing trusted software, with the goal of achieving a variety of negative technical impacts.

On this page

Many software applications allow users to install third-party software extensions/plugins that provide additional features and functionality. Adversaries can take advantage of this behavior to install malware on a system with relative ease. This may require the adversary compromising a system and then installing the malicious extension themself. An alternate approach entails masquerading the malicious extension as a legitimate extension. The adversary then convinces users to install the malicious component, via means such as social engineering, or simply waits for victims to unknowingly install the malware on their systems. Once the malicious extension has been installed, the adversary can achieve a variety of negative technical impacts such as obtaining sensitive information, executing unauthorized commands, observing/modifying network traffic, and more.

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-698: Install Malicious Extension: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/698.html and https://cve.bz/cve/capec/698?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

    1. [Identify target(s)] The adversary must first identify target software that allows for extensions/plugins and which they wish to exploit, such as a web browser or desktop application. To increase the attack space, this will often be popular software with a large user-base.

  2. Experiment

    They probe what they found.

    1. [Create malicious extension] Having identified a suitable target, the adversary crafts a malicious extension/plugin that can be installed by the underlying target software. This malware may be targeted to execute on specific operating systems or be operating system agnostic.

  3. Exploit

    They carry out the attack.

    1. [Install malicious extension] The malicious extension/plugin is installed by the underlying target software and executes the adversary-created malware, resulting in a variety of negative technical impacts.

      2 techniques
      • Adversary-Installed: Having already compromised the target system, the adversary simply installs the malicious extension/plugin themself.
      • User-Installed: The adversary tricks the user into installing the malicious extension/plugin, via means such as social engineering, or may upload the malware on a reputable extension/plugin hosting site and wait for unknowing victims to install the malicious component.

Prerequisites

  • The adversary must craft malware based on the type of software and system(s) they intend to exploit.

  • If the adversary intends to install the malicious extension themself, they must first compromise the target machine via some other means.

Skills required

  • Medium skill

    Ability to create malicious extensions that can exploit specific software applications and systems.

  • Medium skill

    Optional: Ability to exploit target system(s) via other means in order to gain entry.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Read DataConfidentiality, Access Control
Modify DataIntegrity, Access Control
Execute Unauthorized Commands, Alter Execution Logic, Gain PrivilegesAuthorization, Access Control

Mitigations

  • Only install extensions/plugins from official/verifiable sources.

  • Confirm extensions/plugins are legitimate and not malware masquerading as a legitimate extension/plugin.

  • Ensure the underlying software leveraging the extension/plugin (including operating systems) is up-to-date.

  • Implement an extension/plugin allow list, based on the given security policy.

  • If applicable, confirm extensions/plugins are properly signed by the official developers.

  • For web browsers, close sessions when finished to prevent malicious extensions/plugins from executing the the background.

Weaknesses it exploits

  • CWE-507 Trojan Horse
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Recent CVEs with these weaknesses

  1. 8.4CVE-2026-128115

    claw-code versions 0.1.11 through 0.1.16 load stdio MCP server definitions from project-controlled configuration files and start their configured commands during startup tool discovery. A repository can therefore cause a program to execute…

  2. 7.8CVE-2026-137191

    Vite+ is a unified toolchain and entry point for web development. From 0.2.9 until 1.5.1, the global vp setup path downloads the pinned pnpm package manager through download_package_manager and executes it without comparing the bytes to a …

  3. 8.1CVE-2026-135802

    When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then ke…

  4. 7.3CVE-2026-133781

    The controllers.json loader of @symfony/stimulus-bridge loads the package.json file of each package listed in controllers.json with require(). Node resolves this path through the exports field of the package, which can map ./package.json t…

  5. 7.5CVE-2026-129840

    In the nrfconnect/ncs-zigbee repository, the GitHub Actions workflow .github/workflows/build_documentation.yml used the pull_request_target trigger while checking out and executing untrusted pull request code. This allowed a pull request f…

  6. 8.8CVE-2026-131261

    In Splunk SOAR versions below 8.8.0, a user that holds a role with the Apps edit permission could execute arbitrary code as the user account that runs Splunk SOAR by installing a malicious app. The vulnerability is possible because Splunk …

  7. 7.2CVE-2026-131256

    In Splunk SOAR versions below 8.8.0, an authenticated user that holds a role with the System Settings edit permission could execute arbitrary code on the host that runs Splunk SOAR. The vulnerability is possible because the Representationa…

  8. 5.9CVE-2026-131201

    In Splunk Enterprise Security versions below 8.7.0, an unauthenticated user with network-path interception capability could cause attacker-controlled JavaScript to run in the browser of a security analyst who previews a Portable Document F…

The newest records naming one of them. Each weakness's page lists them all.

Part of

Examples

In January 2018, Palo Alto's Unit 42 reported that a malicious Internet Information Services (IIS) extension …

In January 2018, Palo Alto's Unit 42 reported that a malicious Internet Information Services (IIS) extension they named RGDoor was used to create a backdoor into several Middle Eastern government organizations, as well as a financial institution and an educational institution. This malware was used in conjunction with the TwoFace webshell and allowed the adversaries to upload/download files and execute unauthorized commands. [REF-740]

In December 2018, it was reported that North Korea-based APT Kimusky (also known as Velvet Chollima) infected…

In December 2018, it was reported that North Korea-based APT Kimusky (also known as Velvet Chollima) infected numerous legitimate academic organizations within the U.S., many specializing in biomedical engineering, with a malicious Google Chrome extension. Dubbed "Operation STOLEN PENCIL", the attack entailed conducting spear-phishing attacks to trick victims into installing a malicious PDF reader named "Auto Font Manager". Once installed, the malware allowed adversaries to steal cookies and site passwords, as well as forward emails from some compromised accounts. [REF-741]

MITRE's words, unchanged: CAPEC-698 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.