CVE-2018-18478 LibreNMS XSS Vulnerability
Remote attackers can inject arbitrary scripts via the dashboard_name parameter in LibreNMS, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-18478?
CVE-2018-18478 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 18 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Persistent Cross-Site Scripting (XSS) issues in LibreNMS before 1.44 allow remote attackers to inject arbitrary web script or HTML via the dashboard_name parameter in the /ajax_form.php resource, related to html/includes/forms/add-dashboard.inc.php, html/includes/forms/delete-dashboard.inc.php, and html/includes/forms/edit-dashboard.inc.php.
Weakness: CWE-79
Which versions are affected by CVE-2018-18478?
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.44 |
librenms/librenms Packagist | All versions | 1.44 |
Products include Librenms Librenms.
How do I fix CVE-2018-18478?
Upgrade librenms/librenms to 1.44 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-18478 being exploited?
There is no known exploitation of CVE-2018-18478 in the wild and no public exploit code.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-9m82-f3wx-p625.