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.76% (higher than 78% 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_DNS_Addr command injection The following function can take up to two addresses, performs no sanitization and then 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_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2) { int result; // r0 char v5[80]; // [sp+0h] [bp-50h] BYREF if ( !dns1 ) result = 0; if ( dns1 ) { sprintf(v5, "/bin/echo nameserver %s > /etc/resolv.conf", dns1); // attacker controlled dns1 field system(v5); if ( dns2 ) { sprintf(v5, "/bin/echo nameserver %s >> /etc/resolv.conf", dns2); system(v5); } return 1; } return result;
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GeoVision Inc. GV-I/O Box 4E | V2.09 Not affected: V2.12 | CVE List |
Classification
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_DNS_Addr command injection The following function can take up to two addresses, performs no sanitization and then 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_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2) { int result; // r0 char v5[80]; // [sp+0h] [bp-50h] BYREF if ( !dns1 ) result = 0; if ( dns1 ) { sprintf(v5, "/bin/echo nameserver %s > /etc/resolv.conf", dns1); // attacker controlled dns1 field system(v5); if ( dns2 ) { sprintf(v5, "/bin/echo nameserver %s >> /etc/resolv.conf", dns2); system(v5); } return 1; } return result;
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_DNS_Addr La siguiente función puede tomar hasta dos direcciones, no realiza ninguna sanitización y luego 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 endpoint ’Network.cgi’. int __fastcall CNetSetObj::m_F_n_Set_DNS_Addr(CNetSetObj this, char dns1, char dns2) { int result; // r0 char v5[80]; // [sp+0h] [bp-50h] BYREF if ( !dns1 ) result = 0; if ( dns1 ) { sprintf(v5, “/bin/echo nameserver %s > /etc/resolv.conf”, dns1); // campo dns1 controlado por el atacante system(v5); if ( dns2 ) { sprintf(v5, “/bin/echo nameserver %s >> /etc/resolv.conf”, dns2); system(v5); } return 1; } return result; }
References
| https://www.geovision.com.tw/cyber_security.php | vendor-advisory | |
| https://talosintelligence.com/vulnerability_reports/TALOS-2026-2379 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12851 changed 2026-06-24 | CVE Terms of Use |
| NVD | CVE-2026-12851 changed 2026-10-25 | Public domain |