CVE-2020-14947

HIGH

OCS Inventory NG 2.7 - Remote Code Execution via Shell Metacharacters in SNMP MIB File Handling

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2020-14947. PoCs published by Askar, mhaskar.

AI-analyzed exploit summary This exploit targets OCS Inventory NG 2.7 by injecting a reverse shell payload into the SNMP configuration. It leverages CSRF tokens to bypass protections and executes arbitrary commands via the SNMP_MIB_DIRECTORY parameter.

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.

Exploits (2)

exploitdb WORKING POC
by Askar · textwebappsmultiple
https://www.exploit-db.com/exploits/48634

This exploit targets OCS Inventory NG 2.7 by injecting a reverse shell payload into the SNMP configuration. It leverages CSRF tokens to bypass protections and executes arbitrary commands via the SNMP_MIB_DIRECTORY parameter.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OCS Inventory NG v2.7
Auth required
Prerequisites: Valid credentials for the target application · Network connectivity to the target · Listener set up for the reverse shell
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 19 stars
by mhaskar · poc
https://github.com/mhaskar/CVE-2020-14947

This is a functional exploit for CVE-2020-14947, targeting OCS Inventory NG v2.7. It leverages post-authentication RCE by injecting a malicious payload into the SNMP configuration, which triggers a reverse shell via ncat.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OCS Inventory NG v2.7
Auth required
Prerequisites: Valid credentials for OCS Inventory NG · Network access to the target · Listener set up for reverse shell
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 8.8
EPSS 0.1948
EPSS Percentile 97.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (1)
factorfx/open_computer_software_inventory_next_generation 2.7
Published Jun 30, 2020
Tracked Since Feb 18, 2026