Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g84x-g96g-rcjc

Опубликовано: 16 янв. 2025
Источник: github
Github: Прошло ревью
CVSS3: 5.4

Описание

Librenms has a reflected XSS on error alert

XSS on the parameters:/addhost -> param: community

of Librenms versions 24.10.1 (https://github.com/librenms/librenms) allows remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure.

Proof of Concept:

  1. Navigate to the /addhost path.

  2. Fill in all required fields.

  3. In the Community field, enter the following payload: "><img src=a onerror="alert(1)">. image

  4. Submit the form to save changes. 5 The script will execute when the error alert "No reply with community + payload" appears. image

Impact:

Execution of Malicious Code

Пакеты

Наименование

librenms/librenms

composer
Затронутые версииВерсия исправления

<= 24.10.1

24.11.0

EPSS

Процентиль: 1%
0.0001
Низкий

5.4 Medium

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 5.4
nvd
около 1 года назад

librenms is a community-based GPL-licensed network monitoring system. Affected versions are subject to Cross-site Scripting (XSS) on the parameters:`/addhost` -> param: community. Librenms versions up to 24.10.1 allow remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure. This issue has been addressed in release version 24.11.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

EPSS

Процентиль: 1%
0.0001
Низкий

5.4 Medium

CVSS3

Дефекты

CWE-79