{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-12849: GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-12849","status":"final","version":"1","initial_release_date":"2026-06-24T03:40:21.823Z","current_release_date":"2026-06-24T12:53:41.973Z","revision_history":[{"date":"2026-06-24T03:40:21.823Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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\n#### CNetSetObj::m_F_n_Set_Net_Mask command injection\n\nThe following function takes a string as a net mask 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. \n\n\n\n    int __fastcall CNetSetObj::m_F_n_Set_Net_Mask(const char **this, char *netmask_addr)\n\n    {\n\n      bool v2; // zf\n\n      char v4[72]; // [sp+0h] [bp-48h] BYREF\n\n\n\n      v2 = *this == 0;\n\n      if ( *this )\n\n        v2 = netmask_addr == 0;\n\n      if ( v2 )\n\n        return 0;\n\n      sprintf(v4, \"/sbin/ifconfig %s netmask %s\", *this, netmask_addr);  // attacker controlled netmask_addr\n\n      system(v4);\n\n      return 1;\n\n    }","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-12849 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-12849"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-12849"},{"category":"external","summary":"geovision.com.tw","url":"https://www.geovision.com.tw/cyber_security.php"},{"category":"external","summary":"talosintelligence.com","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2026-2379"}]},"product_tree":{"branches":[{"category":"vendor","name":"GeoVision Inc.","branches":[{"category":"product_name","name":"GV-I/O Box 4E","branches":[{"category":"product_version","name":"V2.09","product":{"name":"GeoVision Inc. GV-I/O Box 4E V2.09","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:geovision_inc.:gv-i\\/o_box_4e:v2.09:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"V2.12","product":{"name":"GeoVision Inc. GV-I/O Box 4E V2.12","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:geovision_inc.:gv-i\\/o_box_4e:v2.09:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-12849","title":"GeoVision GV-I/O Box 4E libNetSetObj.so OS command injection vulnerability","notes":[{"category":"description","text":"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\n#### CNetSetObj::m_F_n_Set_Net_Mask command injection\n\nThe following function takes a string as a net mask 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. \n\n\n\n    int __fastcall CNetSetObj::m_F_n_Set_Net_Mask(const char **this, char *netmask_addr)\n\n    {\n\n      bool v2; // zf\n\n      char v4[72]; // [sp+0h] [bp-48h] BYREF\n\n\n\n      v2 = *this == 0;\n\n      if ( *this )\n\n        v2 = netmask_addr == 0;\n\n      if ( v2 )\n\n        return 0;\n\n      sprintf(v4, \"/sbin/ifconfig %s netmask %s\", *this, netmask_addr);  // attacker controlled netmask_addr\n\n      system(v4);\n\n      return 1;\n\n    }","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: V2.12.","product_ids":["CSAFPID-1"]}]}]}