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

CVE-2025-59702

CVE-2025-59702 Security Advisory in Entrust
📅 PUBLISHED: 2025-12-02 00:00 UTC 🔄 UPDATED: 2026-09-26 06:28 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.31%
👁️
0.31% probability
7.7× 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 7.2
AV: P Attack Vector Physical
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: C Scope Changed
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-59702 is a high-severity physical security vulnerability affecting Entrust nShield Connect XC, nShield 5c, and nShield HSMi hardware security modules (HSMs) up to firmware versions 13.6.11 and 13.7. The flaw allows a physically proximate attacker with elevated privileges to falsify tamper events by accessing internal components. This undermines the core security guarantee of HSMs—tamper evidence and response—potentially allowing an attacker to extract cryptographic keys or alter security policies without triggering alarms.

The vulnerability is particularly dangerous because HSMs are designed to be tamper-resistant; successful exploitation could lead to a complete compromise of the cryptographic root of trust. No public exploit code or proof-of-concept is currently available, and no official patch has been released by Entrust at the time of analysis.

⚡ 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 software packages (NPM, PyPI, Go, Ruby). It is a hardware/firmware issue in proprietary Entrust HSM appliances. Supply chain risk is limited to physical access to the device during deployment, maintenance, or decommissioning.

CVSS Breakdown & Threat Level

CVSS Score: 0.0 (Uncalculated) Vector: UNKNOWN (No official vector provided)

Qualitative Assessment:

  • Attack Vector (AV): Physical (requires physical proximity)
  • Attack Complexity (AC): High (requires elevated privileges and knowledge of internal components)
  • Privileges Required (PR): High (elevated privileges needed)
  • User Interaction (UI): None
  • Scope (S): Changed (compromise of HSM affects all relying systems)
  • Confidentiality (C): High (keys and secrets exposed)
  • Integrity (I): High (tamper logs can be falsified)
  • Availability (A): Low (device may remain operational)

Threat Level: Critical (due to the nature of HSM security and lack of patch)

Deep Dive & Mechanics

The vulnerability resides in the physical tamper detection circuitry of the affected Entrust nShield HSMs. These devices are equipped with tamper switches, sensors, and seals that are designed to detect physical intrusion and trigger a zeroization (secure erasure) of cryptographic keys.

Root Cause: An attacker with physical access and elevated privileges (e.g., a malicious insider or an attacker who has already compromised the host OS) can bypass or disable these tamper sensors by accessing internal components (e.g., PCB traces, sensor connectors, or the tamper logic controller). This allows the attacker to perform physical attacks (e.g., probing memory buses, replacing firmware chips, or extracting key material) without triggering a tamper event.

Attack Flow:

  1. Attacker gains physical access to the HSM (e.g., during maintenance, via a compromised data center).
  2. Attacker uses elevated privileges (e.g., root access on the host or HSM admin credentials) to disable tamper monitoring via software commands or by physically disconnecting sensors.
  3. Attacker opens the HSM chassis or accesses internal boards.
  4. Attacker performs memory extraction, firmware modification, or key extraction.
  5. Attacker closes the HSM and re-enables tamper monitoring, leaving no trace in the tamper log.

Impact: The HSM's tamper evidence is falsified, meaning the device reports "no tamper" even after a physical breach. This defeats the primary security function of an HSM.

Vulnerable vs. Patched Code

No code diff is available as this is a hardware/firmware vulnerability. The vulnerable component is the physical tamper detection logic, which is not publicly documented.

Vulnerable Behavior: Tamper sensors can be bypassed or disabled via physical access to internal components. Patched Behavior: No patch available. A hypothetical fix would involve hardware redesign (e.g., tamper-encapsulated sensors, encrypted tamper logs, or hardware-based attestation).

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Physical access to the HSM (e.g., in a lab or compromised data center).
  • Elevated privileges on the HSM (e.g., nShield admin account or root access on the host).
  • Basic tools: screwdrivers, multimeter, JTAG debugger, logic analyzer.

Exploitation Steps:

  1. Identify Tamper Sensors: Locate the tamper switches and sensors on the HSM PCB (often microswitches, magnetic reed switches, or optical sensors).
  2. Disable Sensors: Use a small piece of tape or a magnet to hold the tamper switch in the "closed" (non-tampered) position. Alternatively, cut the trace connecting the sensor to the tamper logic controller.
  3. Bypass Software Monitoring: If the HSM has a software-based tamper monitoring daemon, kill or disable it using elevated privileges (e.g., systemctl stop nshield-tamper).
  4. Extract Keys: Use JTAG or UART to dump firmware and key storage. Alternatively, use a cold boot attack on the HSM's RAM.
  5. Falsify Logs: After the attack, re-enable sensors and clear any log entries (if possible).

Example Command (Hypothetical):

# Disable tamper monitoring daemon (requires root)
systemctl stop nshield-tamper-monitor
# Physically bypass sensors (manual step)
# Extract key material via JTAG
openocd -f interface/jtag.cfg -f target/nshield.cfg -c "init; dump_image keys.bin 0x20000000 0x10000; exit"

Blue Team (Defensive)

Detection & Prevention:

  • Physical Security: Restrict physical access to HSMs to authorized personnel only. Use multi-factor authentication for data center access.
  • Tamper Log Auditing: Regularly review tamper logs for anomalies (e.g., missing logs, unexpected resets, or sensor disconnection events).
  • Firmware Integrity: Use hardware security modules with remote attestation to verify firmware integrity.
  • Monitoring: Deploy physical intrusion detection systems (PIDS) and CCTV around HSM racks.

Hunting Queries:

  • Search for HSM logs with missing tamper events during maintenance windows.
  • Monitor for unexpected HSM reboots or firmware updates.

Indicators of Compromise (IOCs)

  • Physical: Missing or tampered tamper seals, scratches on HSM chassis, disconnected sensor wires.
  • Logs: Absence of expected tamper events during physical access, gaps in HSM audit logs.
  • Firmware: Unexpected firmware version or hash mismatch.
  • Network: Unusual outbound connections from the HSM (e.g., to attacker C2).

Detection Engineering

YARA Rule

rule Detect_Tamper_Bypass_HSM_Logs {
    meta:
        description = "Detects falsified tamper logs in Entrust nShield HSM"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-59702"
    strings:
        $tamper_ok = "TAMPER_STATUS: OK" nocase
        $tamper_fail = "TAMPER_STATUS: FAIL" nocase
        $log_gap = "LOG_GAP_DETECTED" nocase
    condition:
        ($tamper_ok and not $tamper_fail) or $log_gap
}

Sigma Rule

title: Entrust nShield HSM Tamper Bypass Detection
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects missing tamper events or log gaps in Entrust nShield HSM logs
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-59702
logsource:
    product: entrust
    service: nshield
detection:
    selection:
        EventID: 1001
        Message|contains: 'TAMPER_STATUS'
    condition: selection and not (Message|contains: 'TAMPER_STATUS: FAIL')
falsepositives:
    - Legitimate maintenance with tamper disabled
level: high

Suricata Rule

alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-59702 - Entrust nShield HSM Tamper Bypass - Unusual Outbound Connection"; flow:to_server; content:"|00|"; depth:1; threshold: type both, track by_src, count 1, seconds 3600; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Physical Access Control: Restrict physical access to HSMs to a minimal set of trusted personnel.
  2. Tamper Seal Inspection: Regularly inspect physical tamper seals and sensors.
  3. Log Monitoring: Enable and monitor HSM audit logs for tamper events and anomalies.

Long-Term Fix:

  • Vendor Patch: Await an official firmware update from Entrust that addresses the tamper bypass. Contact Entrust support for guidance.
  • Hardware Replacement: If no patch is available, consider replacing affected HSMs with newer models that have improved tamper detection (e.g., tamper-encapsulated sensors with cryptographic attestation).

Workaround:

  • Deploy HSMs in a secure, monitored environment with multi-factor physical access controls.
  • Use a hardware security module (HSM) with remote attestation to verify tamper status via a trusted platform module (TPM).

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

💣 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-59702/ · 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.