Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2026-12850

Gravedad CVSS v3.1:
CRÍTICA
Tipo:
CWE-78 Neutralización incorrecta de elementos especiales usados en un comando de sistema operativo (Inyección de comando de sistema operativo)
Fecha de publicación:
24/06/2026
Última modificación:
25/06/2026

Descripción

*** Pendiente de traducción *** 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.<br /> <br /> <br /> `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.)<br /> <br /> <br /> #### CNetSetObj::m_F_n_Set_Gate_way command injection<br /> <br /> 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. <br /> <br /> <br /> <br /> <br /> <br /> int __fastcall CNetSetObj::m_F_n_Set_Gate_way(const char **this, char *gw, char *dev)<br /> <br /> {<br /> <br /> char s[324]; // [sp+4h] [bp-144h] BYREF<br /> <br /> <br /> <br /> if ( !dev &amp;&amp; !*this || !gw )<br /> <br /> return 0;<br /> <br /> system("/sbin/route del -net 224.0.0.0 netmask 224.0.0.0");<br /> <br /> system("/sbin/route del default ");<br /> <br /> if ( dev )<br /> <br /> sprintf(s, "/sbin/route add default gw %s dev %s", gw, dev); //attacker controlled gw string<br /> <br /> else<br /> <br /> sprintf(s, "/sbin/route add default gw %s dev %s", gw, *this); //attacker controlled gw string<br /> <br /> system(s);<br /> <br /> 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<br /> <br /> system(s);<br /> <br /> return 1;<br /> <br /> }