{"id":"CVE-2020-14947","details":"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.","modified":"2026-04-02T04:10:06.618016Z","published":"2020-06-30T21:15:11.237Z","references":[{"type":"FIX","url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing"},{"type":"EVIDENCE","url":"https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73"},{"type":"EVIDENCE","url":"https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports","events":[{"introduced":"0"},{"last_affected":"f8034b7fe494c0d90b5a74462330e17864211f24"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.7"}]}},{"type":"GIT","repo":"https://github.com/ocsinventory-ng/ocsinventory-ocsreports","events":[{"introduced":"0"},{"fixed":"da72e0fddaeceee44fbbd7241e07e5d53d1eee64"}]}],"versions":["2.2","2.2.1","2.2Beta2","2.2RC1","2.3","2.3.1","2.3RC1","2.4","2.4.1","2.5","2.6","2.6RC","2.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14947.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}