CVE-2020-15877 Exposure of Resource to Wrong Sphere in LibreNMS
Normal users can bypass access controls to perform administrative actions due to incorrect middleware configuration in LibreNMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-15877?
CVE-2020-15877 is a high-severity missing authorization vulnerability in Librenms Librenms, published on 21 Jul 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2020-15877?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 1.65.1 |
librenms/librenms Packagist | All versions | 1.65.1 |
Products include Librenms Librenms.
How do I fix CVE-2020-15877?
Upgrade librenms/librenms to 1.65.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-15877 being exploited?
There is no known exploitation of CVE-2020-15877 in the wild and no public exploit code.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-3c33-3465-fhx2.