/

CVE-2026-102792

Severity:

CRITICAL RISK

(9.1)

OS Command Injection (CWE-77) in Ziroom ZHOME API

CVE-2026-102792

Deferred

Vulnerability type

Category:

Command Injection

CWE:

CWE-74, CWE-77

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A command injection vulnerability in the Ziroom ZHOME A0101 router's /api/ZRnetwork/set_syslog endpoint may allow operating-system commands to be inserted through the conloglevel or log_size parameters. Because the affected function may be reachable remotely, an attacker who can access the endpoint could potentially execute commands with the service's privileges.

Affected context

The issue occurs in Ziroom ZHOME A0101 version 1.0.1.0 when the set_syslog function processes values supplied to the /api/ZRnetwork/set_syslog endpoint. Risk depends on whether the endpoint is exposed to an attacker and whether supplied values are incorporated into operating-system commands without strict validation or safe argument handling.

Exploit preconditions

  • Attack surface: The remotely accessible /api/ZRnetwork/set_syslog endpoint
  • Required access: Network access to the endpoint; authentication requirements are deployment-dependent
  • Trigger point: Processing of the conloglevel or log_size parameters
  • Why exploitation is possible: User-controlled values may reach command execution logic without sufficient separation from command syntax

Why this happens

The underlying bug is command construction that treats externally supplied parameter values as part of an operating-system command. When input is concatenated into a shell command or passed through an unsafe execution pathway, shell metacharacters and command syntax may be interpreted rather than treated as data. This maps primarily to CWE-77, Command Injection, and also relates to CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component.

Potential impact

  • An attacker may execute arbitrary commands with the privileges of the affected service
  • Device configuration, logs, or other local data could be modified or exposed
  • The device could be disrupted, persistently compromised, or used as a foothold
  • Compromised devices could support lateral movement or further attacks

General mitigation guidance

Mitigation generally focuses on preventing external input from becoming

executable command syntax.

Common defensive patterns include:

  • Prefer direct library or system APIs instead of invoking a shell
  • Pass command arguments as structured values rather than concatenated strings
  • Allow only narrowly defined, typed values for logging configuration
  • Apply strict allowlist validation before any system operation
  • Reduce service privileges and isolate administrative functionality
  • Restrict network exposure of management endpoints and require strong access controls
  • Treat configuration parameters as untrusted even when they originate from an internal client

How teams detect issues like this

Detection approaches may include:

  • Static analysis for string concatenation or formatting near shell and process execution APIs
  • Code review of handlers that pass HTTP parameters to system commands
  • Testing with boundary values and command-separator characters in controlled environments
  • Runtime monitoring for unexpected child processes spawned by the network service
  • Web application firewall or gateway policies that restrict access to management endpoints
  • Automated security review rules for CWE-77 and CWE-74 patterns

Sources

SourceLink
github.comgithub.com/waltz-sketch/Ziroom/blob/main/set_syslog_conloglevel_command_injection.md
vuldb.comvuldb.com/cve/CVE-2026-102792
vuldb.comvuldb.com/submit/914647
vuldb.comvuldb.com/submit/914648
vuldb.comvuldb.com/vuln/411469
vuldb.comvuldb.com/vuln/411469/cti

Frequently asked

questions

It may be remotely exploitable when the affected API is network-accessible and an attacker can submit requests to it. Actual exposure depends on network placement and access controls.

The available description does not establish a specific authentication requirement. Access to the endpoint, whether authenticated or unauthenticated, is the key condition to assess.

Avoid shell-based command construction, use structured process or library APIs, and restrict parameters to validated allowlisted values.

Enforce input trust boundaries, review all system-command call sites, apply least privilege, limit management interfaces, and include command-injection checks in automated testing and code review.

Find out what's already
exploitable in your codebase.