CVE-2026-12850: 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::mFnSetGateway command injection
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.
int fastcall CNetSetObj::mFnSetGateway(const char this, char gw, char dev)
{
char s[324]; // [sp+4h] [bp-144h] BYREF
if ( !dev && !this || !gw )
return 0;
system("/sbin/route del -net 224.0.0.0 netmask 224.0.0.0");
system("/sbin/route del default ");
if ( dev )
sprintf(s, "/sbin/route add default gw %s dev %s", gw, dev); //attacker controlled gw string
else
sprintf(s, "/sbin/route add default gw %s dev %s", gw, this); //attacker controlled gw string
system(s);
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
system(s);
return 1;
}
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
At the firewall/network layer, restrict access to the GeoVision GV-I/O Box 4E DVRSearch service and the Network.cgi endpoint to only trusted IPs (or disable external exposure) to prevent triggering the command injection via CNetSetObj::m_F_n_Set_Gate_way.
GeoVision GV-I/O Box 4E Disable or block network access to the DVRSearch service and Network.cgi endpoint = Restrict/deny inbound access so attackers cannot reach CNetSetObj::m_F_n_Set_Gate_way (reachable from DVRSearch and Network.cgi) - Compensating control
Place the GeoVision GV-I/O Box 4E behind network isolation (e.g., segment it so only required admin/management clients can reach DVRSearch/Network.cgi) to mitigate exploitation of the OS command injection in libNetSetObj.so.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-12850?
CVE-2026-12850 has a critical severity rating of 9.1.
What does CVE-2026-12850 affect?
CVE-2026-12850 affects the GeoVision GV-I/O Box 4E software, specifically the libNetSetObj.so functionality.
How do I fix CVE-2026-12850?
To fix CVE-2026-12850, update the GeoVision GV-I/O Box 4E software to the latest version that addresses this vulnerability.
What type of vulnerability is CVE-2026-12850?
CVE-2026-12850 is an OS command injection vulnerability.
What could an attacker achieve by exploiting CVE-2026-12850?
An attacker could execute commands on the system by sending specially crafted network packets that exploit CVE-2026-12850.