SB2020072808 - Multiple vulnerabilities in LibreNMS



SB2020072808 - Multiple vulnerabilities in LibreNMS

Published: July 28, 2020

Security Bulletin ID SB2020072808
Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) SQL injection (CVE-ID: CVE-2020-15873)

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the customoid.inc.php "device_id" POST parameter to ajax_form.php. A remote authenticated attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


2) Improper access control (CVE-ID: CVE-2020-15877)

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions for normal users because of "'guard' => 'admin'" instead of "'middleware' => ['can:admin']" in routes/web.php. A remote authenticated attacker can bypass implemented security restrictions and gain unauthorized access to the application.


Remediation

Install update from vendor's website.