CVE-2018-20434

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation…

published April 24, 2019

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.4th percentile for exploit probability.

CVSS
—
EPSS
71%
Percentile
99.4
In the wild
Unconfirmed
What it is

🚨 A crafty little vulnerability allows attackers to remotely execute OS commands in LibreNMS 1.46 — all through a seemingly innocent POST parameter! Think of it like a restaurant server taking an order without verifying the customer — you could end up with an unsanctioned dish that no one wants, but the kitchen starts cooking anyway. That's how a bad actor can manipulate the $_POST['community'] parameter to run commands! An attacker can exploit this vulnerability to execute arbitrary commands on the server, posing a serious risk to the system's integrity. Imagine the chaos that could ensue if they gain access to sensitive information or disrupt services! This could lead to data breaches or operational downtime, threatening the stability of your network.

Put simply

Think of it like a restaurant server taking an order without verifying the customer — you could end up with an unsanctioned dish that no one wants, but the kitchen starts cooking anyway. That's how a bad actor can manipulate the $_POST['community'] parameter to run commands! This vulnerability allows remote attackers to execute arbitrary OS commands by exploiting the $_POST['community'] parameter during new device creation in LibreNMS, specifically targeting the handling in html/includes/output/capture.inc.php.

What to do

An attacker can exploit this vulnerability to execute arbitrary commands on the server, posing a serious risk to the system's integrity. Imagine the chaos that could ensue if they gain access to sensitive information or disrupt services! This could lead to data breaches or operational downtime, threatening the stability of your network. To protect your system, upgrade to the latest version of LibreNMS that addresses this vulnerability. Additionally, implement input validation to ensure that only expected values are accepted in the $_POST parameters. Regularly audit your application for similar vulnerabilities to keep your environment secure. You've got this! With a few tweaks, you can fortify your defenses and lock this vulnerability down. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.71487 · 99.4th percentile
Published
2019-04-24T20:05Z
EPSS history
Timeline
  • 24 APR 20:05Z
    LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation…
    cvelistv5