CVE-2019-10670 Cross-site scripting in n/a
Attacker can inject malicious JavaScript into LibreNMS web interface via unsafe data handling, potentially leading to session hijacking or code execution.
- 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
- None listed
What is CVE-2019-10670?
CVE-2019-10670 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 9 Sep 2019. 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
An issue was discovered in LibreNMS through 1.47. Many of the scripts rely on the function mysqli_escape_real_string for filtering data. However, this is particularly ineffective when returning user supplied input in an HTML or a JavaScript context, resulting in unsafe data being injected into these contexts, leading to attacker controlled JavaScript executing in the browser. One example of this is the string parameter in html/pages/inventory.inc.php.
Weakness: CWE-79
Which versions are affected by CVE-2019-10670?
It affects 1 product.
Products include Librenms Librenms.
How do I fix CVE-2019-10670?
No fix has been published for CVE-2019-10670 yet. Limit exposure of the affected software until one is available.
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-2019-10670 being exploited?
There is no known exploitation of CVE-2019-10670 in the wild and no public exploit code.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-q48c-mmg3-2hww.