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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharingExploit, Third Party Advisory
- https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73Exploit, Third Party Advisory
- https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64Patch, Third Party Advisory
- https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharingExploit, Third Party Advisory
- https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73Exploit, Third Party Advisory
- https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64Patch, Third Party Advisory
- https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/Exploit, Third Party Advisory
Timeline
- Published
- Jun 30, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified