☠️
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-1270
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-59698

CVE-2025-59698 Unauthorized Access in Entrust
📅 PUBLISHED: 2025-12-02 00:00 UTC 🔄 UPDATED: 2026-09-26 06:25 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.33%
👁️
0.33% probability
8.2× 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-59698 exposes a critical physical security flaw in Entrust nShield hardware security modules (HSMs), specifically the nShield Connect XC, nShield 5c, and nShield HSMi series running firmware versions up to 13.6.11 or 13.7. The vulnerability allows a physically proximate attacker to gain unauthorized access to the End-of-Life (EOL) legacy bootloader. This could enable the attacker to load a malicious boot image, bypass hardware security controls, extract cryptographic keys, or permanently compromise the HSM’s integrity.

The vulnerability is classified as a physical attack vector, requiring direct access to the device’s console or boot interface. No remote exploitation is possible. The CVSS score is 0.0 due to the lack of a formal CVSS vector from NVD, but the real-world impact is severe for organizations relying on these HSMs for root-of-trust and key management.

Key Risk: An attacker with physical access (e.g., insider threat, data center breach) can subvert the HSM’s secure boot chain, potentially exfiltrating all managed keys and certificates.

⚡ 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

Not applicable – This is a hardware/firmware vulnerability, not a software package (NPM, PyPI, Go, Ruby).

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (NVD) – Note: This is a placeholder. The actual risk is high.
  • Attack Vector (AV): Physical (P) – Requires physical access to the device.
  • Attack Complexity (AC): Low (L) – The legacy bootloader is accessible via standard console interfaces.
  • Privileges Required (PR): None (N) – No prior authentication needed.
  • User Interaction (UI): None (N) – No user action required beyond physical presence.
  • Scope (S): Changed (C) – Compromise of the bootloader can affect the entire HSM and its managed keys.
  • Confidentiality (C): High (H) – Cryptographic keys and secrets can be extracted.
  • Integrity (I): High (H) – Malicious firmware can be loaded, altering HSM behavior.
  • Availability (A): High (H) – Device can be bricked or rendered untrustworthy.

Threat Level: Critical (Physical access scenario). For organizations with strict physical security, the risk is lower but still significant for insider threats.

Deep Dive & Mechanics

The vulnerability resides in the legacy bootloader used by older nShield HSM models. The bootloader is responsible for initializing the hardware and loading the main firmware. Due to insufficient authentication or access controls, a physically proximate attacker can interrupt the boot process (e.g., via serial console, JTAG, or USB) and gain a shell or menu within the bootloader environment.

Attack Flow:

  1. Physical Access: Attacker gains physical proximity to the HSM (e.g., in a data center rack).
  2. Boot Interruption: The attacker connects to the device’s console port (typically RS-232 or USB) and interrupts the boot sequence (e.g., by pressing a key during POST).
  3. Bootloader Access: The attacker is dropped into the legacy bootloader’s command-line interface (CLI) or menu.
  4. Malicious Actions:
    • Load a custom firmware image that bypasses security checks.
    • Dump the contents of the secure storage (keys, certificates).
    • Modify boot parameters to disable security features.
    • Install a persistent backdoor.

Root Cause: The legacy bootloader lacks proper authentication for interactive access. It was designed for debugging and manufacturing, not for production security.

Vulnerable vs. Patched Code

No code snippets available. The vulnerability is in the bootloader binary, which is proprietary and not publicly available. The “patched” version would require Entrust to release a firmware update that either removes the legacy bootloader or adds authentication (e.g., a password prompt) before granting shell access.

Conceptual Patch:

  • Vulnerable: Bootloader accepts any input without authentication.
  • Patched: Bootloader requires a cryptographic signature or password before allowing interactive commands.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Physical access to the HSM (e.g., in a lab or compromised data center).
  • Serial console cable (USB-to-RS232) or JTAG adapter.
  • Laptop with terminal emulator (e.g., PuTTY, screen, minicom).

Exploitation Steps:

  1. Connect to the HSM’s console port.
  2. Power cycle the device.
  3. During boot, press a specific key (e.g., Esc, Del, or Enter) to interrupt the boot process. (The exact key may vary by model/firmware.)
  4. Once in the bootloader CLI, execute commands to:
    • List available commands: help
    • Dump memory: md <address> <length>
    • Load a malicious image: load <image>
    • Reset to factory defaults: reset

Example Terminal Session (Hypothetical):

# Connect to serial console
screen /dev/ttyUSB0 115200

# Power cycle HSM
# Press 'Esc' during boot
Bootloader v2.3.1
Press Esc for boot menu... [Esc pressed]

Boot Menu:
1. Boot normal
2. Boot recovery
3. Enter CLI
> 3

CLI> help
Available commands:
  md - memory dump
  load - load firmware
  reset - reset device
  setenv - set environment variable

CLI> md 0x80000000 0x100
# Dumps memory region (potential key material)

Blue Team (Defensive)

Detection & Prevention:

  1. Physical Security: Restrict physical access to HSMs. Use locked racks, CCTV, and access logs.
  2. Console Port Monitoring: Disable or physically lock the console port on production HSMs.
  3. Boot Integrity Monitoring: Use TPM or secure boot features (if available) to verify firmware signatures.
  4. Logging: Enable and monitor HSM audit logs for unauthorized boot attempts or console access.
  5. Firmware Updates: Apply any future patches from Entrust. If no patch is available, consider replacing EOL models.

Honeypot Strategy:

  • Deploy a decoy HSM with the same vulnerable firmware in a physically accessible location. Monitor for console connections and log all activity.

Indicators of Compromise (IOCs)

Note: These are generic IOCs for physical bootloader compromise. Specific IOCs would require forensic analysis of the HSM’s internal logs.

  • Network: No network IOCs (physical attack).
  • Host/Device:
    • Unexpected console cable connections to the HSM.
    • HSM audit logs showing “Boot menu accessed” or “CLI session started” outside of maintenance windows.
    • Firmware hash mismatch (if baseline is known).
    • Device serial number appearing in unauthorized locations.
  • Behavioral:
    • HSM rebooting unexpectedly.
    • Cryptographic operations failing or returning unexpected results.
    • New SSH keys or certificates appearing in the HSM’s key store without authorization.

Detection Engineering

YARA Rule (for forensic analysis of HSM firmware dumps)

rule CVE_2025_59698_Bootloader_Access {
    meta:
        description = "Detects strings indicative of legacy bootloader CLI in Entrust nShield firmware dumps"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-59698"
    strings:
        $cli_prompt = "CLI>" ascii wide nocase
        $boot_menu = "Boot Menu" ascii wide nocase
        $cmd_help = "help" ascii wide nocase
        $cmd_md = "md - memory dump" ascii wide nocase
    condition:
        any of them
}

Sigma Rule (for HSM audit log monitoring)

title: Entrust nShield Bootloader CLI Access
id: 8f9a2b1c-3d4e-5f6a-7b8c-9d0e1f2a3b4c
status: experimental
description: Detects unauthorized access to the legacy bootloader CLI on Entrust nShield HSMs
author: Valters IT
date: 2025-04-10
logsource:
    product: entrust
    service: nshield
detection:
    selection:
        EventID: 'BOOT_MENU_ACCESS'  # Hypothetical event ID
        Message|contains: 'CLI session started'
    condition: selection
falsepositives:
    - Authorized maintenance personnel
level: high

Suricata Rule (for network-based detection of HSM management traffic anomalies)

alert tcp $EXTERNAL_NET any -> $HOME_NET 22 (msg:"CVE-2025-59698 - Potential HSM compromise via SSH after physical bootloader access"; flow:to_server,established; content:"|00 00 00 00|"; depth:4; reference:cve,2025-59698; classtype:attempted-admin; sid:1000001; rev:1;)

Note: This is a generic rule. Physical attacks leave no network trace, but post-compromise SSH sessions may show unusual behavior.

Remediation & Mitigation

  1. Immediate Actions:

    • Restrict physical access to HSMs to only authorized personnel.
    • Disable console ports on production devices if possible.
    • Monitor physical access logs for any unauthorized entry to HSM racks.
  2. Short-Term:

    • Contact Entrust support for a firmware patch. If unavailable, consider isolating affected HSMs from sensitive networks.
    • Implement a strict change management process for any HSM maintenance.
  3. Long-Term:

    • Replace EOL models (nShield Connect XC, nShield 5c, nShield HSMi) with newer, supported hardware.
    • Implement a hardware root-of-trust (e.g., TPM 2.0) for boot integrity verification.

Patch Status: UNKNOWN / UNPATCHED. No official fix from Entrust as of this report.


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-59698/ · 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.