{"id":"CVE-2026-12851","state":"PUBLISHED","title":"GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability","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.\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;","publishedAt":"2026-06-24T03:40:26.802Z","updatedAt":"2026-06-24T12:50:52.147Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"GV"},"assigner":"GV","products":["GeoVision Inc. GV-I/O Box 4E"],"affected":[{"vendor":"GeoVision Inc.","product":"GV-I/O Box 4E","defaultStatus":"unaffected","versions":[{"version":"V2.09","status":"affected"},{"version":"V2.12","status":"unaffected"}],"platforms":["Linux"]}],"references":["https://www.geovision.com.tw/cyber_security.php","https://talosintelligence.com/vulnerability_reports/TALOS-2026-2379"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/12xxx/CVE-2026-12851.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-12851","state":"PUBLISHED","datePublished":"2026-06-24T03:40:26.802Z","dateUpdated":"2026-06-24T12:50:52.147Z","assignerShortName":"GV","assignerOrgId":"0df08a0e-a200-4957-9bb0-084f562506f9","dateReserved":"2026-06-22T00:42:28.790Z"},"containers":{"cna":{"title":"GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability","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;"}],"affected":[{"vendor":"GeoVision Inc.","product":"GV-I/O Box 4E","defaultStatus":"unaffected","versions":[{"version":"V2.09","status":"affected"},{"version":"V2.12","status":"unaffected"}],"platforms":["Linux"]}],"references":[{"url":"https://www.geovision.com.tw/cyber_security.php","tags":["vendor-advisory"]},{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2026-2379","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"CRITICAL","baseScore":9.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GV","orgId":"0df08a0e-a200-4957-9bb0-084f562506f9","dateUpdated":"2026-06-24T03:40:26.802Z"},"datePublic":"2026-06-17T03:31:00.000Z","impacts":[{"descriptions":[{"lang":"en","value":"capec-10"}]}],"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:*:*:*:*:*"}]}]}],"timeline":[{"time":"2026-04-21T07:34:00.000Z","lang":"en","value":"Finder Reports Vulnerabilties to Vendor"}],"credits":[{"lang":"en","value":"Philippe Laulheret of Cisco Talos","type":"finder"},{"lang":"en","value":"Kelly Patterson of Cisco Talos","type":"remediation reviewer"},{"lang":"en","value":"Robert Sherwin  of Cisco Talos","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T12:50:41.800146Z","id":"CVE-2026-12851","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-24T12:50:52.147Z"}}]}}}