Skip to content

SQL Injection in librenms

High severity GitHub Reviewed Published May 6, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

composer librenms/librenms (Composer)

Affected versions

< 21.1.0

Patched versions

21.1.0

Description

A second-order SQL injection issue in Widgets/TopDevicesController.php (aka the Top Devices dashboard widget) of LibreNMS before 21.1.0 allows remote authenticated attackers to execute arbitrary SQL commands via the sort_order parameter against the /ajax/form/widget-settings endpoint.

References

Published by the National Vulnerability Database Feb 8, 2021
Reviewed Apr 5, 2021
Published to the GitHub Advisory Database May 6, 2021
Last updated Feb 1, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2020-35700

GHSA ID

GHSA-h59f-p56g-g75v

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.