{"id":"CVE-2020-14947","aliases":["EUVD-2020-7082","GHSA-fpv5-6hr5-69rv","UBUNTU-CVE-2020-14947"],"status":"published","title":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require...","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.19481,"percentile":0.97407,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2020-06-30T20:44:34Z","modified":"2026-10-20T10:51:51Z","exploits":[{"source":"exploitdb","id":"EDB-48634","title":"OCS Inventory NG 2.7 - Remote Code Execution","type":"webapps","platform":"multiple","date":"2020-07-02","url":"https://www.exploit-db.com/exploits/48634"},{"source":"pocgithub","id":"mhaskar/CVE-2020-14947","title":"mhaskar/CVE-2020-14947","date":"2020-07-02","url":"https://github.com/mhaskar/CVE-2020-14947"}],"affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1","2.1.2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2+dfsg-0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5+dfsg1-1","2.5+dfsg1-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1-1","2.8.1+dfsg1-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1+~2.11.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ocsinventory-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1+~2.11.1-1"]}],"products":[{"vendor":"factorfx","product":"open_computer_software_inventory_next_generation"}],"references":[{"url":"https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14947"},{"url":"https://github.com/advisories/GHSA-fpv5-6hr5-69rv"},{"url":"https://ubuntu.com/security/CVE-2020-14947","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-14947","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-14947","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2020-06-30T20:44:34Z","modified":"2024-08-04T13:00:52.115Z","updated_at":"2026-11-02T14:35:46.476719Z"}],"euvd":[{"id":"EUVD-2020-7082","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2020-06-30T20:44:34Z","modified":"2024-08-04T13:00:52Z","updated_at":"2026-11-03T03:07:33.617168Z"}],"ghsa":[{"id":"GHSA-fpv5-6hr5-69rv","title":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require...","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2022-05-24T17:22:12Z","modified":"2023-01-28T03:30:28Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:43:22.817498Z"}],"nvd":[{"id":"CVE-2020-14947","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2020-06-30T21:15:11.237Z","modified":"2026-06-17T02:55:49.397Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:08.145904Z"}],"osv":[{"id":"CVE-2020-14947","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2020-06-30T21:15:11.237Z","modified":"2026-10-20T10:51:51.304340008Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:14.418339Z"},{"id":"UBUNTU-CVE-2020-14947","description":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","status":"published","published":"2020-06-30T21:15:00Z","modified":"2026-01-20T17:11:46.098502Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:23.344108Z"}]}}
