CVE-2017-9781 Cross-site scripting in n/a
Unauthenticated attackers can inject arbitrary JavaScript via the username parameter in Check_MK webapi.py, 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-2017-9781?
CVE-2017-9781 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Jun 2017. 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
A cross site scripting (XSS) vulnerability exists in Check_MK versions 1.4.0x prior to 1.4.0p6, allowing an unauthenticated remote attacker to inject arbitrary HTML or JavaScript via the _username parameter when attempting authentication to webapi.py, which is returned unencoded with content type text/html.
Weakness: CWE-79
Which versions are affected by CVE-2017-9781?
It affects 1 product.
Products include Check Mk Project Check Mk.
How do I fix CVE-2017-9781?
Upgrade to a fixed version.
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-2017-9781 being exploited?
There is no known exploitation of CVE-2017-9781 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-85cm-vx4m-p4x4, UBUNTU-CVE-2017-9781.