Skip to content

GHSA-3c33-3465-fhx2 CVE-2020-15877

Exposure of Resource to Wrong Sphere in LibreNMS

High Packagist
Severity
8.8 / 10
High · CVSS 3.1
Exploit chance (EPSS)
1.92%
Chance of exploitation in the next 30 days. Higher than 79.88% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-668 Exposure of Resource to Wrong Sphere
Fix
1.65.1
Upgrade librenms/librenms to this version or later

Description

An issue was discovered in LibreNMS before 1.65.1. It has insufficient access control for normal users because of "'guard' => 'admin'" instead of "'middleware' => ['can:admin']" in routes/web.php.

Affected versions

Packagist

PackageVulnerableFixed in
librenms/librenms
< 1.65.1
1.65.1

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

librenms/librenms Packagist → 1.65.1

composer
composer require librenms/librenms:^1.65.1

Severity breakdown

CVSS 3.1 8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Weakness

CWE-668: Exposure of Resource to Wrong Sphere

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-7w8c-qgxg-m7jx
LibreNMS — Stored XSS via SNMP/Syslog Data in Legacy Templates
High Also affects librenms/librenms
GHSA-7gww-x7fh-jf9j
LibreNMS: SSRF-driven stored XSS via Oxidized API response fields in device showconfig page
Critical Also affects librenms/librenms
GHSA-7cj5-v4pp-v632
LibreNMS: Stored XSS via graph_descr admin config settings echoed without escaping to all authenticated users
Medium Also affects librenms/librenms
GHSA-jf24-8g2h-2wg7
LibreNMS Vulnerable to Remote Code Execution via AboutController
High Also affects librenms/librenms
GHSA-c9fv-cgmm-2wg7
LibreNMS Vulnerable to Remote Code Execution by Signal Alert Transportation module
High Also affects librenms/librenms
GHSA-jmqm-f8q4-v7wx
LibreNMS: Reflected XSS via Proxmox instance/vmid GET parameters injected into document.title JavaScript assignment
Medium Also affects librenms/librenms
GHSA-5gm9-622f-qcg5
LibreNMS: Cross-Site Scripting in ShowConfigController
Medium Also affects librenms/librenms
GHSA-pr3g-phhr-h8fh
LibreNMS is Vulnerable to Remote Code Execution by Arbitrary File Write
High Also affects librenms/librenms
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor