CVE-2026-12851
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_DNS_Addr command injection<br />
<br />
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. <br />
<br />
<br />
<br />
int __fastcall CNetSetObj::m_F_n_Set_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2)<br />
<br />
{<br />
<br />
int result; // r0<br />
<br />
char v5[80]; // [sp+0h] [bp-50h] BYREF<br />
<br />
<br />
<br />
if ( !dns1 )<br />
<br />
result = 0;<br />
<br />
if ( dns1 )<br />
<br />
{<br />
<br />
sprintf(v5, "/bin/echo nameserver %s > /etc/resolv.conf", dns1); // attacker controlled dns1 field<br />
<br />
system(v5);<br />
<br />
if ( dns2 )<br />
<br />
{<br />
<br />
sprintf(v5, "/bin/echo nameserver %s >> /etc/resolv.conf", dns2);<br />
<br />
system(v5);<br />
<br />
}<br />
<br />
return 1;<br />
<br />
}<br />
<br />
return result;
Impacto
Puntuación base 3.x
9.10
Gravedad 3.x
CRÍTICA



