☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.8 CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-1274
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-59694

CVE-2025-59694 Supply Chain Attack in Entrust
📅 PUBLISHED: 2025-12-02 00:00 UTC 🔄 UPDATED: 2026-09-26 06:12 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
7.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.8
AV: P Attack Vector Physical
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
6.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-59694 is a critical firmware integrity vulnerability affecting the Chassis Management Board (CMB) in multiple Entrust nShield hardware security module (HSM) models, including the nShield Connect XC, nShield 5c, and nShield HSMi. The vulnerability allows a physically proximate attacker to persistently modify the CMB firmware via JTAG or a malicious upgrade, thereby influencing the insecurely configured appliance boot process. This attack, designated F03, undermines the root of trust for the entire HSM, potentially allowing an attacker to bypass security controls, exfiltrate cryptographic keys, or implant persistent backdoors. As of this report, no official patch has been released, and no public proof-of-concept (PoC) code is available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It is a hardware/firmware-level issue within the Entrust nShield product line.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder. Based on the vulnerability description, a more realistic assessment would be:

  • Attack Vector (AV): Physical (P) – Requires physical access to the device.
  • Attack Complexity (AC): Low (L) – JTAG interfaces are often exposed and well-documented.
  • Privileges Required (PR): None (N) – No prior authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Changed (C) – Compromise of the CMB can affect the entire HSM.
  • Confidentiality (C): High (H) – Cryptographic keys and sensitive data can be extracted.
  • Integrity (I): High (H) – Firmware can be persistently modified.
  • Availability (A): High (H) – Malicious firmware can render the device inoperable.

Estimated CVSS Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Estimated Score: 6.6 (Medium) – High impact but requires physical access.

Threat Level: High. While physical access is required, the impact on confidentiality, integrity, and availability is severe, especially in high-security environments where HSMs are the root of trust.

Deep Dive & Mechanics

The vulnerability resides in the Chassis Management Board (CMB) firmware of the affected Entrust nShield models. The CMB is responsible for managing power, cooling, and the boot process of the HSM appliance. The core issue is twofold:

  1. Insecure Boot Process: The appliance boot process is insecurely configured, meaning it does not properly validate the integrity and authenticity of the firmware loaded onto the CMB.
  2. Persistent Firmware Modification: An attacker with physical access can modify the CMB firmware via the JTAG (Joint Test Action Group) interface, a standard debugging port often left exposed on embedded devices. Alternatively, the attacker can perform a malicious upgrade to the CMB firmware through the device's management interface.

Once the firmware is modified, the attacker can influence the boot process, potentially loading a compromised operating system or kernel, bypassing hardware security mechanisms, and gaining persistent, low-level access to the HSM. This attack is designated "F03" by the researchers.

The attack chain is as follows:

  1. Physical Access: The attacker gains physical proximity to the HSM.
  2. Firmware Modification: The attacker connects to the JTAG interface or performs a malicious firmware upgrade.
  3. Boot Process Manipulation: The modified firmware alters the boot sequence, loading attacker-controlled code.
  4. Persistent Compromise: The attacker establishes a persistent foothold, potentially exfiltrating keys or monitoring cryptographic operations.

Vulnerable vs. Patched Code

Since this is a firmware-level vulnerability, there is no traditional "source code" diff. The vulnerability is in the design and configuration of the boot process and the lack of firmware integrity checks.

Vulnerable Configuration:

  • The CMB firmware does not cryptographically verify the bootloader or operating system images.
  • The JTAG interface is enabled and accessible without authentication.
  • Firmware upgrade process does not enforce code signing.

Patched Configuration (Expected):

  • The boot process should implement secure boot with cryptographic verification of all firmware components.
  • The JTAG interface should be disabled or require authentication.
  • Firmware upgrades should require valid digital signatures.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Physical access to the target Entrust nShield device.
  • JTAG debugger (e.g., SEGGER J-Link, OpenOCD compatible adapter).
  • Knowledge of the CMB's JTAG pinout (often available in device documentation or through reverse engineering).
  • Custom firmware image with malicious payload.

Exploitation Steps:

  1. Identify JTAG Interface: Locate the JTAG header on the CMB. This may require opening the device chassis.
  2. Connect Debugger: Connect the JTAG debugger to the header.
  3. Dump Original Firmware: Use OpenOCD or similar tool to dump the existing CMB firmware for analysis.
    openocd -f interface/jlink.cfg -f target/your_target.cfg -c "init; flash read_bank 0 firmware_dump.bin; exit"
    
  4. Craft Malicious Firmware: Modify the dumped firmware to alter the boot process. For example, patch the bootloader to load a custom kernel or add a backdoor.
  5. Flash Modified Firmware: Write the malicious firmware back to the CMB.
    openocd -f interface/jlink.cfg -f target/your_target.cfg -c "init; flash write_bank 0 malicious_firmware.bin; exit"
    
  6. Reboot Device: Power cycle the HSM. The modified firmware will execute, loading the attacker's payload.

Alternative Method (Malicious Upgrade):

  1. Obtain a legitimate CMB firmware update package.
  2. Reverse engineer the update mechanism.
  3. Create a modified update package with the malicious firmware.
  4. Upload the package via the management interface (e.g., web UI, CLI).

Blue Team (Defensive)

Detection & Prevention:

  • Physical Security: Restrict physical access to HSMs to authorized personnel only. Use tamper-evident seals and CCTV monitoring.
  • JTAG Disablement: If possible, physically disable the JTAG interface by removing the header or blowing fuses.
  • Firmware Integrity Monitoring: Implement a process to regularly verify the cryptographic hash of the CMB firmware against a known-good baseline.
  • Boot Process Auditing: Enable and monitor secure boot logs if the device supports it.
  • Network Segmentation: Place HSMs on isolated management networks with strict access controls.
  • Upgrade Validation: Only apply firmware upgrades from trusted sources and verify digital signatures before installation.

Indicators of Compromise (IOCs)

  • Firmware Hash Mismatch: The SHA-256 hash of the CMB firmware differs from the vendor's published hash.
  • Unexpected JTAG Activity: Network or system logs showing unusual activity on the JTAG interface (if monitored).
  • Anomalous Boot Logs: Boot logs showing unexpected kernel or bootloader versions.
  • Physical Tampering: Signs of physical tampering, such as broken seals, scratches on the chassis, or disconnected cables.
  • Unusual Network Traffic: Outbound connections from the HSM to unknown IP addresses, especially during boot or firmware upgrade processes.

Detection Engineering

YARA Rule

rule CVE_2025_59694_CMB_Firmware_Tamper {
    meta:
        description = "Detects potential tampering of Entrust nShield CMB firmware based on known malicious patterns"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-59694"
    strings:
        $suspicious_boot_string = "malicious_bootloader" ascii wide nocase
        $jtag_backdoor = "JTAG_BACKDOOR" ascii wide nocase
        $modified_crc = { FF FF FF FF } // Example of a patched CRC value
    condition:
        any of them
}

Sigma Rule

title: Entrust nShield CMB Firmware Modification Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects events that may indicate unauthorized modification of the Chassis Management Board firmware on Entrust nShield devices.
author: Valters IT
date: 2025/04/10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-59694
logsource:
    product: entrust_nshield
    service: firmware_update
detection:
    selection:
        EventID:
            - 1001  # Firmware update initiated
            - 1002  # Firmware update completed
        User: "admin"  # Or other privileged users
    condition: selection
falsepositives:
    - Legitimate firmware updates performed by authorized personnel.
level: high

Suricata Rule

alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-59694 - Entrust nShield CMB Firmware Exfiltration Attempt"; flow:to_server,established; content:"|ff ff ff ff|"; depth:4; offset:0; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Physical Access Control: Restrict physical access to the affected devices to only essential, trusted personnel.
  2. Disable JTAG: If the device allows, disable the JTAG interface via a hardware jumper or software configuration.
  3. Monitor Firmware Updates: Implement strict controls over firmware update processes, including manual verification of digital signatures.

Long-Term Remediation:

  • Vendor Patch: Await an official firmware update from Entrust that implements secure boot and firmware integrity verification.
  • Hardware Replacement: If a patch is not forthcoming, consider replacing the affected devices with models that have a secure boot chain.
  • Enhanced Monitoring: Deploy the detection rules provided above to identify potential exploitation attempts.

Workarounds:

  • Network Isolation: Place the HSM on a dedicated, air-gapped network segment.
  • Tamper-Evident Seals: Use tamper-evident seals on the device chassis and regularly inspect them.

Valters IT

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-59694/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.