{"id":80990,"date":"2026-06-24T07:10:26","date_gmt":"2026-06-24T03:40:26","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-12851-geovision-gv-i-o-box-4e-libnetsetobj-so-os-command-injection-vulnerability\/"},"modified":"2026-06-24T07:10:26","modified_gmt":"2026-06-24T03:40:26","slug":"cve-2026-12851-geovision-gv-i-o-box-4e-libnetsetobj-so-os-command-injection-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-12851-geovision-gv-i-o-box-4e-libnetsetobj-so-os-command-injection-vulnerability\/","title":{"rendered":"CVE-2026-12851 &#8211; GeoVision GV-I\/O Box 4E libNetSetObj.so OS command injection vulnerability"},"content":{"rendered":"<p>CVE ID :CVE-2026-12851<\/p>\n<p>  Published : June 24, 2026, 3:40 a.m. | 2\u00a0hours, 3\u00a0minutes ago<\/p>\n<p>  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.<\/p>\n<p>`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.)<\/p>\n<p>#### CNetSetObj::m_F_n_Set_DNS_Addr command injection<\/p>\n<p>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. <\/p>\n<p>    int __fastcall CNetSetObj::m_F_n_Set_DNS_Addr(CNetSetObj *this, char *dns1, char *dns2)<\/p>\n<p>    {<\/p>\n<p>      int result; \/\/ r0<\/p>\n<p>      char v5[80]; \/\/ [sp+0h] [bp-50h] BYREF<\/p>\n<p>      if ( !dns1 )<\/p>\n<p>        result = 0;<\/p>\n<p>      if ( dns1 )<\/p>\n<p>      {<\/p>\n<p>        sprintf(v5, &#8220;\/bin\/echo nameserver %s &gt; \/etc\/resolv.conf&#8221;, dns1);  \/\/ attacker controlled dns1 field<\/p>\n<p>        system(v5);<\/p>\n<p>        if ( dns2 )<\/p>\n<p>        {<\/p>\n<p>          sprintf(v5, &#8220;\/bin\/echo nameserver %s &gt;&gt; \/etc\/resolv.conf&#8221;, dns2);<\/p>\n<p>          system(v5);<\/p>\n<p>        }<\/p>\n<p>        return 1;<\/p>\n<p>      }<\/p>\n<p>      return result;<\/p>\n<p>  Severity: 9.1 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-12851 Published : June 24, 2026, 3:40 a.m. | 2\u00a0hours, 3\u00a0minutes ago 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. `libNetSetObj.so` is an &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-80990","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=80990"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80990\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=80990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=80990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=80990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}