CVE-2020-14947
OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require...
CVE-2020-14947 is a high vulnerability (CVSS 8.8) in Factorfx Open Computer Software Inventory Next Generation, published June 30, 2020. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 19.5%, the 97th percentile. No source names a fixed version.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2020-14947- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-14947- Updated
- 2026-11-02
EUVDEUVD-2020-7082 No score
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.
- Record
EUVD-2020-7082- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fpv5-6hr5-69rv
8.8
OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require...
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.
- Record
GHSA-fpv5-6hr5-69rv- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
8.8
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.
- Record
CVE-2020-14947- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-14947
8.8
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.
- Record
UBUNTU-CVE-2020-14947- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ocsinventory-serverUbuntu:16.04:LTS |
All versions, plus listed versions 2.1.2-12.1.2-1ubuntu1 |
None known |
ocsinventory-serverUbuntu:18.04:LTS |
All versions, plus listed versions 2.2+dfsg-0.1 |
None known |
ocsinventory-serverUbuntu:20.04:LTS |
All versions, plus listed versions 2.5+dfsg1-12.5+dfsg1-1ubuntu0.1 |
None known |
ocsinventory-serverUbuntu:22.04:LTS |
All versions, plus listed versions 2.8.1+dfsg1-12.8.1+dfsg1-1ubuntu0.1 |
None known |
ocsinventory-serverUbuntu:24.04:LTS |
All versions, plus listed versions 2.8.1+dfsg1+~2.11.1-1 |
None known |
ocsinventory-serverUbuntu:25.10 |
All versions, plus listed versions 2.8.1+dfsg1+~2.11.1-1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | OCS Inventory NG 2.7 - Remote Code Execution | 2020-07-02 |
| PoC in GitHub | mhaskar/CVE-2020-14947 | 2020-07-02 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub |
References
gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73
drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing
shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947
packetstormsecurity.com/files/158293/OCS-Inventory-NG-2.7-Remote-Code-Execution.html
github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64
nvd.nist.gov/vuln/detail/CVE-2020-14947
github.com/advisories/GHSA-fpv5-6hr5-69rv
ubuntu.com/security/CVE-2020-14947
cve.org/CVERecord?id=CVE-2020-14947