cve.bz

CAPEC-682

Exploitation of Firmware or ROM Code with Unpatchable Vulnerabilities

High severityMedium likelihoodStandard pattern

An adversary may exploit vulnerable code (i.e., firmware or ROM) that is unpatchable. Unpatchable devices exist due to manufacturers intentionally or inadvertently designing devices incapable of updating their software. Additionally, with updatable devices, the manufacturer may decide not to support the device and stop making updates to their software.

On this page

When a vulnerability is found in a device that has no means of patching, the attack may be used against an entire class of devices. Devices from the same manufacturer often use similar or identical firmware, which could lead to widespread attacks. Devices of this nature are prime targets for botnet attacks. Consumer devices are frequently targeted for this attack due to the complexities of updating firmware once manufacturers no longer have physical access to a device. When exploiting a found vulnerability, adversaries often try to gain root access on a device. This allows them to use the device for any malicious purpose. Some example exploits are stealing device data, using the device for a ransomware attack, or recruiting the device for a botnet.

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-682: Exploitation of Firmware or ROM Code with Unpatchable Vulnerabilities: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/682.html and https://cve.bz/cve/capec/682?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. [Determine vulnerable firmware or ROM code] An adversary will attempt to find device models that are known to have unpatchable firmware or ROM code, or are deemed “end-of-support” where a patch will not be made. The adversary looks for vulnerabilities in firmware or ROM code for the identified devices, or looks for devices which have known vulnerabilities

      1 technique
      • Many botnets use wireless scanning to discover nearby devices that might have default credentials or commonly used passwords. Once these devices are infected, they can search for other nearby devices and so on.
  2. Experiment

    They probe what they found.

    1. [Determine plan of attack] An adversary identifies a specific device/model that they wish to attack. They will also investigate similar devices to determine if the vulnerable firmware or ROM code is also present.

  3. Exploit

    They carry out the attack.

    1. [Carry out attack] An adversary exploits the vulnerable firmware or ROM code on the identified device(s) to achieve their desired goal.

      4 techniques
      • Install malware on a device to recruit it for a botnet.
      • Install malware on the device and use it for a ransomware attack.
      • Gain root access and steal information stored on the device.
      • Manipulate the device to behave in unexpected ways which would benefit the adversary.

Prerequisites

  • Awareness of the hardware being leveraged.

  • Access to the hardware being leveraged, either physically or remotely.

Skills required

  • Medium skill

    Knowledge of various wireless protocols to enable remote access to vulnerable devices

  • High skill

    Ability to identify physical entry points such as debug interfaces if the device is not being accessed remotely

Consequences

What a successful attack can lead to
ImpactAffectsNote
Modify DataIntegrity
Read DataConfidentiality
Gain PrivilegesAccess Control, Authorization

Mitigations

  • Design systems and products with the ability to patch firmware or ROM code after deployment to fix vulnerabilities.

  • Make use of OTA (Over-the-air) updates so that firmware can be patched remotely either through manual or automatic means

Weaknesses it exploits

Recent CVEs with these weaknesses

  1. 6.1CVE-2026-85544

    Some Hikvision intercom products utilize an immutable factory value which should be obtained from local network or physical interaction with the device within their main card, which may allow attackers to forge a legitimate main card, ther…

  2. 8.2CVE-2026-6484

    In an UEFI, Lack of verified boot to certain FV may cause arbitrary code execution.

  3. 7.5CVE-2026-59847

    A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.

  4. 4.6CVE-2025-55338

    Missing Ability to Patch ROM Code in Windows BitLocker allows an unauthorized attacker to bypass a security feature with a physical attack.

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

Part of

Examples

An IoT company comes out with a line of smart products for home use such as home cameras, vacuums, and smart …

An IoT company comes out with a line of smart products for home use such as home cameras, vacuums, and smart bulbs. The products become popular, and millions of consumers install these devices in their homes. All the devices use a custom module for encryption that is stored on a ROM chip, which is immutable memory and can't be changed. An adversary discovers that there is a vulnerability in the encryption module code that allows authentication bypass, gaining access to any device. The adversary then develops botnet code that is remotely downloaded onto the infected devices. This code scans the internet for nearby devices from the same product line and exploits the vulnerability, loading the botnet code onto these new devices. Over time, the adversary now has a botnet of devices that can carry out malicious activity such as a DDoS attacks. Once the vulnerability is found, it is impossible to remediate because the vulnerable code is unable to be updated.

Older smartphones can become out of date and manufacturers may stop putting out security updates as they focu…

Older smartphones can become out of date and manufacturers may stop putting out security updates as they focus on newer models. If an adversary discovers a vulnerability in an old smartphone there is a chance that a security update will not be made to mitigate it. This leaves anyone using the old smartphone vulnerable.

MITRE's words, unchanged: CAPEC-682 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.