PT-2019-10067 · Librenms · Librenms

Askar

·

Publicado

2019-04-24

·

Atualizado

2022-05-24

·

CVE-2018-20434

CVSS v2.0

10

Crítica

VetorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: LibreNMS version 1.46
Description: The issue allows remote attackers to execute arbitrary OS commands. This is achieved by using the community parameter in the html/pages/addhost.inc.php page during the creation of a new device. Then, by making a request to the /ajax output.php?id=capture&format=text&type=snmpwalk&hostname=localhost endpoint, it triggers command mishandling in html/includes/output/capture.inc.php.
Recommendations: For LibreNMS version 1.46, as a temporary workaround, consider restricting access to the html/pages/addhost.inc.php page and the /ajax output.php endpoint to minimize the risk of exploitation. Avoid using the community parameter in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

OS Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2018-20434
GHSA-62Q7-QJ6G-GVR7

Produtos afetados

Librenms