{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-12851", "assignerOrgId": "0df08a0e-a200-4957-9bb0-084f562506f9", "state": "PUBLISHED", "assignerShortName": "GV", "dateReserved": "2026-06-22T00:42:28.790Z", "datePublished": "2026-06-24T03:40:26.802Z", "dateUpdated": "2026-06-24T12:50:52.147Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "0df08a0e-a200-4957-9bb0-084f562506f9", "shortName": "GV", "dateUpdated": "2026-06-24T03:40:26.802Z" }, "title": "GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability", "datePublic": "2026-06-17T03:31:00.000Z", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-78", "description": "CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')", "type": "CWE" } ] } ], "impacts": [ { "descriptions": [ { "lang": "en", "value": "capec-10" } ] } ], "affected": [ { "vendor": "GeoVision Inc.", "product": "GV-I/O Box 4E", "platforms": [ "Linux" ], "versions": [ { "status": "affected", "version": "V2.09" }, { "status": "unaffected", "version": "V2.12" } ], "defaultStatus": "unaffected" } ], "cpeApplicability": [ { "operator": "OR", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:geovision_inc.:gv-i_o_box_4e:v2.09:*:linux:*:*:*:*:*" }, { "vulnerable": false, "criteria": "cpe:2.3:a:geovision_inc.:gv-i_o_box_4e:v2.12:*:linux:*:*:*:*:*" } ] } ] } ], "descriptions": [ { "lang": "en", "value": "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.\n\n\n`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.)\n\n\n#### CNetSetObj::m_F_n_Set_DNS_Addr command injection\n\nThe 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. \n\n\n\n int __fastcall CNetSetObj::m_F_n_Set_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2)\n\n {\n\n int result; // r0\n\n char v5[80]; // [sp+0h] [bp-50h] BYREF\n\n\n\n if ( !dns1 )\n\n result = 0;\n\n if ( dns1 )\n\n {\n\n sprintf(v5, \"/bin/echo nameserver %s > /etc/resolv.conf\", dns1); // attacker controlled dns1 field\n\n system(v5);\n\n if ( dns2 )\n\n {\n\n sprintf(v5, \"/bin/echo nameserver %s >> /etc/resolv.conf\", dns2);\n\n system(v5);\n\n }\n\n return 1;\n\n }\n\n return result;", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "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.