Advisory

GHSA-62q7-qj6g-gvr7

Also known as: CVE-2018-20434

Summary

LibreNMS arbitrary OS commands execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 16:44 UTC
Modified
2024-04-24 22:28 UTC

Affected packages and fixes

librenms/librenms

Packagist · All systems

Affected

  • Versions: 1.46

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences