{"id":"CVE-2020-14947","published":"2020-06-30T20:44:34Z","modified":"2024-08-04T13:00:52Z","title":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.19481,"percentile":0.97436,"provenance":"source"},"cwes":[],"references":[{"url":"https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73","tags":["x_refsource_MISC"]},{"url":"https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing","tags":["x_refsource_MISC"]},{"url":"https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.49},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2020-07-02"},"pocGithub":{"count":1,"skipped":0,"earliest":"2020-07-02","earliestUrl":"https://github.com/mhaskar/CVE-2020-14947","repos":[{"name":"mhaskar/CVE-2020-14947","url":"https://github.com/mhaskar/CVE-2020-14947","stars":17,"created":"2020-07-02"}]},"first":{"date":"2020-07-02","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/48634"},"provenance":"source"},"summary":{"text":"The flaw is a remote command execution weakness in OCS Inventory NG 2.7, where the mib_file value in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled by get_mib_oid, allowing it to reach require/commandLine/CommandLine.php. An attacker can inject shell metacharacters to run arbitrary commands on the server, though the available record does not specify the exact network position, authentication, user interaction, or configuration required for this.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:46:50Z"},"euvd":{"id":"EUVD-2020-7082","exploited":false,"provenance":"source"},"exploits":[{"id":48634,"url":"https://www.exploit-db.com/exploits/48634","title":"OCS Inventory NG 2.7 - Remote Code Execution","date":"2020-07-02","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html"]}