CVE-2026-12849

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_Net_Mask command injection The following function takes a string as a net mask 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_Net_Mask(const char **this, char *netmask_addr) { bool v2; // zf char v4[72]; // [sp+0h] [bp-48h] BYREF v2 = *this == 0; if ( *this ) v2 = netmask_addr == 0; if ( v2 ) return 0; sprintf(v4, "/sbin/ifconfig %s netmask %s", *this, netmask_addr); // attacker controlled netmask_addr system(v4); return 1; }
Configurations

No configuration.

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (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 CNetSetObj::m_F_n_Set_Net_Mask La siguiente función toma una cadena como dirección de máscara de red, no realiza ninguna sanitización en 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_Net_Mask(const char this, char netmask_addr) { bool v2; // zf char v4[72]; // [sp+0h] [bp-48h] BYREF v2 = this == 0; if ( this ) v2 = netmask_addr == 0; if ( v2 ) return 0; sprintf(v4, “/sbin/ifconfig %s netmask %s”, this, netmask_addr); // netmask_addr controlado por el atacante system(v4); return 1; } ”””

Information

Published : 2026-06-24 05:17

Updated : 2026-10-25 23:10


NVD link : CVE-2026-12849

Mitre link : CVE-2026-12849

CVE.ORG link : CVE-2026-12849


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')