漏洞描述
OCS Inventory NG是一套开源的IT资产管理解决方案。<br />
OCS Inventory NG 2.7版本存在远程命令执行漏洞。该漏洞源于get_mib_oid未对plugins/main_sections/ms_config/ms_snmp_config.php文件的mib_file进行正确处理。攻击者可借助shell元字符利用该漏洞执行命令。
解决建议
下载相关补丁
参考链接
http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html
https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing
https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64
https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/