CVE-2026-12851: GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability
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::mFnSetDNSAddr 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::mFnSetDNSAddr(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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-12851?
CVE-2026-12851 has a critical severity rating of 9.1.
How do I fix CVE-2026-12851?
To mitigate CVE-2026-12851, update the GeoVision GV-I/O Box 4E to the latest version that addresses this OS command injection vulnerability.
What type of vulnerability is CVE-2026-12851?
CVE-2026-12851 is classified as an OS command injection vulnerability.
Can CVE-2026-12851 be exploited remotely?
Yes, CVE-2026-12851 can be exploited remotely via specially crafted network packets.
What devices are affected by CVE-2026-12851?
CVE-2026-12851 affects the GeoVision GV-I/O Box 4E version 2.09.