CVE-2020-14947
Factorfx Open Computer Software Inventory Next Generation vulnerability
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.
Affected products
Open Computer Software Inventory Next Generation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Factorfx Open Computer Software Inventory Next Generation runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d5 · Patch
- packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html · Exploit
- drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing · Exploit
- gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73 · Exploit
- shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-14947
- cve.org/CVERecord?id=CVE-2020-14947
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.