CVE-2020-14947: RCE in OCS Inventory NG 2.7 via SNMP MIB File Handling
- Vendor
- Factorfx
A remote command execution vulnerability exists in OCS Inventory NG version 2.7 due to improper handling of shell metacharacters in the mib_file parameter within plugins/main_sections/ms_config/ms_snmp_config.php. The vulnerable function get_mib_oid fails to sanitize user input, allowing attackers to inject arbitrary shell commands that are executed by require/commandLine/CommandLine.php.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary commands on the server with the privileges of the web server process, potentially leading to full system compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the affected endpoints, implement strict input validation and sanitization for user-supplied parameters, and consider disabling or removing the vulnerable SNMP configuration plugin if not required.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of OCS Inventory NG where input validation and sanitization are properly implemented for the mib_file parameter. Alternatively, apply vendor-provided patches addressing this issue.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-14947 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2020-14947 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-14947?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-14947, the earliest disclosed Jul 2, 2020.
- Is there a patch for CVE-2020-14947?
- Upgrade to a patched version of OCS Inventory NG where input validation and sanitization are properly implemented for the mib_file parameter. Alternatively, apply vendor-provided patches addressing this issue.
- What products are affected by CVE-2020-14947?
- Factorfx Open Computer Software Inventory Next Generation.
- How severe is CVE-2020-14947?
- CVE-2020-14947 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 19.5% (97th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.