CVE-2020-14947 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 mishandle...
HighCVSS 8.8
EPSS 19.5%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- PHPUbuntuDebian
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.
Upgrade path
7 packages: 0 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ocsinventory-server(Ubuntu 16.04) | = 2.1.2-1; = 2.1.2-1ubuntu1; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 18.04) | = 2.2+dfsg-0.1; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 20.04) | = 2.5+dfsg1-1; = 2.5+dfsg1-1ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 22.04) | = 2.8.1+dfsg1-1; = 2.8.1+dfsg1-1ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 24.04) | = 2.8.1+dfsg1+~2.11.1-1; All versions | No fix listed | No fix yet |
| ubuntu/ocsinventory-server(Ubuntu 25.10) | = 2.8.1+dfsg1+~2.11.1-1; All versions | No fix listed | No fix yet |
| factorfx open computer software inventory next generation | = 2.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| factorfx open computer software inventory next generation | = 2.7 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:16.04) | = 2.1.2-1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:16.04) | = 2.1.2-1ubuntu1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:18.04) | = 2.2+dfsg-0.1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:20.04) | = 2.5+dfsg1-1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:20.04) | = 2.5+dfsg1-1ubuntu0.1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:22.04) | = 2.8.1+dfsg1-1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:22.04) | = 2.8.1+dfsg1-1ubuntu0.1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:24.04) | = 2.8.1+dfsg1+~2.11.1-1 | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/ocsinventory-server(Ubuntu:25.10) | = 2.8.1+dfsg1+~2.11.1-1 | No fix listed |
References
- Debian Security Tracker CVE-2020-14947 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- drive.google.com exploit third-party-advisory
- gist.github.com exploit third-party-advisory
- github.com patch third-party-advisory
- shells.systems exploit third-party-advisory