{"id":"UBUNTU-CVE-2017-9781","details":"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.","modified":"2026-01-30T02:06:37.990726Z","published":"2017-06-21T18:29:00Z","related":["USN-5527-1","USN-5527-2"],"upstream":["CVE-2017-9781"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-9781"},{"type":"REPORT","url":"http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob;f=.werks/4757;hb=c248f0b6ff7b15ced9f07a3df8a80fad656ea5b1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5527-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-9781"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5527-2"}],"affected":[{"package":{"name":"check-mk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/check-mk@1.2.6p12-1ubuntu0.16.04.1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6p12-1ubuntu0.16.04.1+esm1"}]}],"versions":["1.2.6p5-1","1.2.6p12-1","1.2.6p12-1ubuntu0.16.04.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-agent"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-agent-logwatch"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-config-icinga"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-config-nagios3"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-livestatus"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-multisite"},{"binary_version":"1.2.6p12-1ubuntu0.16.04.1+esm1","binary_name":"check-mk-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9781.json"}},{"package":{"name":"check-mk","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/check-mk@1.2.8p16-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.8p16-1ubuntu0.2"}]}],"versions":["1.2.8p16-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-agent"},{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-agent-logwatch"},{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-config-icinga"},{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-livestatus"},{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-multisite"},{"binary_version":"1.2.8p16-1ubuntu0.2","binary_name":"check-mk-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-9781.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}