Vulnerability · Published Jun 30, 2020 · Assigned by mitre
CVE-2020-14947
High 8.8
In plain English
A high-severity security flaw in the ocsinventory-server package (Ubuntu). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 19.5% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Severity (CVSS NVD)8.8High
Exploit odds (30 days)19.5%top 2.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | ocsinventory-server | no fix listed | UBUNTU-CVE-2020-14947 |
| Ubuntu:24.04:LTS | ocsinventory-server | no fix listed | UBUNTU-CVE-2020-14947 |
| Ubuntu:25.10 | ocsinventory-server | no fix listed | UBUNTU-CVE-2020-14947 |
Affected products (as reported)
References
- https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73 x_refsource_MISC
- https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing x_refsource_MISC
- https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/ x_refsource_MISC
- http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html x_refsource_MISC
- https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64 x_refsource_CONFIRM