CVE-2020-14947
CVE-2020-14947
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.8 · High · EPSS 19.5% · Public exploit
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
ocsinventory-server Ubuntu:16.04:LTS
- Versions
- 2.1.2-1
- 2.1.2-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ocsinventory-server Ubuntu:18.04:LTS
- Versions
- 2.2+dfsg-0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ocsinventory-server Ubuntu:20.04:LTS
- Versions
- 2.5+dfsg1-1
- 2.5+dfsg1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ocsinventory-server Ubuntu:22.04:LTS
- Versions
- 2.8.1+dfsg1-1
- 2.8.1+dfsg1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ocsinventory-server Ubuntu:24.04:LTS
- Versions
- 2.8.1+dfsg1+~2.11.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ocsinventory-server Ubuntu:25.10
- Versions
- 2.8.1+dfsg1+~2.11.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73
- https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing
- https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/
- http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html
- https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64
- https://nvd.nist.gov/vuln/detail/CVE-2020-14947