High severity · published Jun 30, 2020
CVE-2020-14947
OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in…
8.8
CVSS
19.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)19.5% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OC
Open Computer Software Inventory Next Generation · Factorfx
2.7 · source: NVD
Affected product
OC
Open Computer Software Inventory Next Generation
Factorfx
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-14947
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-14947
Exploit
http://packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html
Exploit
https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing
Exploit
https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73
Patch
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64
Exploit
https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/
