CVE-2020-14947 in the critical feed json
OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in pl…
published 6y ago modified 4mo ago also EUVD-2020-7082
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 19.5%
- EPSS 19.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
Is CVE-2020-14947 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- Published
- First public exploit (EDB-48634)
Exploit prediction
19.48% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-48634 OCS Inventory NG 2.7 - Remote Code Execution webapps, 2020-07-02
- gist.github.com https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73 referenced PoC, tagged "exploit" by a source, unverified
- drive.google.com https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing referenced PoC, tagged "exploit" by a source, unverified
- shells.systems https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64
patch, third-party-advisory
-
gist.github.com
/mhaskar/233436d3096d4a7beafe36ff61dc2c73
exploit, third-party-advisory
-
drive.google.com
/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing
exploit, third-party-advisory
-
shells.systems
/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/
exploit, third-party-advisory
-
packetstormsecurity.com
/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html
exploit, third-party-advisory, vdb-entry
Sources
- CVE List CVE-2020-14947
- NVD CVE-2020-14947
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.