CVE-2026-12850
JSON

9.1critical

GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability

Severity
9.1critical CVSS:3.1 by GV
Exploit likelihood
1.80% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GV

Description

Multiple OS command injection vulnerabilities exist in the libNetSetObj.so functionality of GeoVision GV-I/O Box 4E 2.09. A specially crafted network packet can lead to command execution. An attacker can send a network request to trigger this vulnerability. `libNetSetObj.so` is an internal library used by various binaries on the device to configure the network stack (start and stop various services, configure IP, Netmask, gateway, dns, etc.) #### CNetSetObj::m_F_n_Set_Gate_way command injection The following function takes a string as a gatewy address, performs no sanitization on it and calls `system`. This is a classic command injection vulnerability. The function is reachable from both the network-exposed `DVRSearch` service and the `Network.cgi` endpoint. int __fastcall CNetSetObj::m_F_n_Set_Gate_way(const char **this, char *gw, char *dev) { char s[324]; // [sp+4h] [bp-144h] BYREF if ( !dev && !*this || !gw ) return 0; system("/sbin/route del -net 224.0.0.0 netmask 224.0.0.0"); system("/sbin/route del default "); if ( dev ) sprintf(s, "/sbin/route add default gw %s dev %s", gw, dev); //attacker controlled gw string else sprintf(s, "/sbin/route add default gw %s dev %s", gw, *this); //attacker controlled gw string system(s); sprintf(s, "/sbin/route add -net 224.0.0.0 netmask 224.0.0.0 gw %s dev %s", gw, *this); //attacker controlled gw string system(s); return 1; }

Affected

Product or packageVersionsReported by
GeoVision Inc. GV-I/O Box 4EV2.09
Not affected: V2.12
CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Multiple OS command injection vulnerabilities exist in the libNetSetObj.so functionality of GeoVision GV-I/O Box 4E 2.09. A specially crafted network packet can lead to command execution. An attacker can send a network request to trigger this vulnerability. `libNetSetObj.so` is an internal library used by various binaries on the device to configure the network stack (start and stop various services, configure IP, Netmask, gateway, dns, etc.) #### CNetSetObj::m_F_n_Set_Gate_way command injection The following function takes a string as a gatewy address, performs no sanitization on it and calls `system`. This is a classic command injection vulnerability. The function is reachable from both the network-exposed `DVRSearch` service and the `Network.cgi` endpoint. int __fastcall CNetSetObj::m_F_n_Set_Gate_way(const char **this, char *gw, char *dev) { char s[324]; // [sp+4h] [bp-144h] BYREF if ( !dev && !*this || !gw ) return 0; system("/sbin/route del -net 224.0.0.0 netmask 224.0.0.0"); system("/sbin/route del default "); if ( dev ) sprintf(s, "/sbin/route add default gw %s dev %s", gw, dev); //attacker controlled gw string else sprintf(s, "/sbin/route add default gw %s dev %s", gw, *this); //attacker controlled gw string system(s); sprintf(s, "/sbin/route add -net 224.0.0.0 netmask 224.0.0.0 gw %s dev %s", gw, *this); //attacker controlled gw string system(s); return 1; }

NVD (es)

Múltiples vulnerabilidades de inyección de comandos del sistema operativo existen en la funcionalidad ’libNetSetObj.so’ de GeoVision GV-I/O Box 4E 2.09. Un paquete de red especialmente diseñado puede llevar a la ejecución de comandos. Un atacante puede enviar una solicitud de red para activar esta vulnerabilidad. ’libNetSetObj.so’ es una biblioteca interna utilizada por varios binarios en el dispositivo para configurar la pila de red (iniciar y detener varios servicios, configurar IP, máscara de red, puerta de enlace, DNS, etc.). #### Inyección de comandos en CNetSetObj::m_F_n_Set_Gate_way La siguiente función toma una cadena como dirección de puerta de enlace, no realiza ninguna sanitización sobre ella y llama a ’system’. Esta es una vulnerabilidad clásica de inyección de comandos. La función es accesible tanto desde el servicio ’DVRSearch’ expuesto en la red como desde el punto final ’Network.cgi’. ””“c int __fastcall CNetSetObj::m_F_n_Set_Gate_way(const char this, char gw, char dev) { char s[324]; // [sp+4h] [bp-144h] BYREF if ( !dev && !this || !gw ) return 0; system(“/sbin/route del -net 224.0.0.0 netmask 224.0.0.0”); system(“/sbin/route del default ”); if ( dev ) sprintf(s, “/sbin/route add default gw %s dev %s”, gw, dev); //cadena de puerta de enlace controlada por el atacante else sprintf(s, “/sbin/route add default gw %s dev %s”, gw, this); //cadena de puerta de enlace controlada por el atacante system(s); sprintf(s, “/sbin/route add -net 224.0.0.0 netmask 224.0.0.0 gw %s dev %s”, gw, this); //cadena de puerta de enlace controlada por el atacante system(s); return 1; } ”””

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12850 changed 2026-06-24CVE Terms of Use
NVDCVE-2026-12850 changed 2026-10-25Public domain