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.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a Python exploit script (ocsng-post-auth-rce.py) targeting OCS Inventory NG v2.7 (CVE-2020-14947). The exploit requires valid credentials to the OCS web interface and leverages a post-authentication vulnerability to inject a command into the SNMP configuration. The injected payload uses ncat to open a reverse shell from the target to the attacker's machine. The script automates login, CSRF token extraction, payload injection, and payload execution via multiple HTTP POST requests to the /index.php endpoint with different functions (admin_conf, SNMP_config). The repository also includes a README.md describing the exploit and referencing the CVE. The main attack vector is network-based, requiring access to the web interface. The exploit is operational, providing a working reverse shell if successful.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.