GitHub Advisoryadvisory · Packagist

GHSA-62q7-qj6g-gvr7 LibreNMS arbitrary OS commands execution

CRITICAL Published 2022-05-24 Modified 2024-04-24 Official page ↗
Aliases
CVE-2018-20434
Ecosystem
Packagist
Packages
librenms/librenms
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2024-04-24

Affected packages

• Packagist librenms/librenms: 1.46 (no fix yet)

Description

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 of a new device, and then making a `/ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php` command mishandling.

Related

Alias · CVE (1)

  • CVE-2018-20434 LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to… vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References