Stored cross-site scripting in Tildeslash Monit - CVE-2019-11454
Published: May 9, 2019
Vulnerability details
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. The vulnerability allows a remote authenticated attacker to inject arbitrary JavaScript via user field of the Authorization header for HTTP Basic Authentication and execute it during an "_viewlog" operation.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
monit (Ubuntu package)
monit (Alpine package)
monit
Fedora
How to mitigate CVE-2019-11454
monit (Ubuntu package) - addressed in versions 1:5.25.2-1ubuntu0.1, 1:5.25.2-3ubuntu0.1
monit (Alpine package) - addressed in versions 5.24.0-r2, 5.25.2-r0
monit - addressed in versions 5.26.0-1.el7, 5.26.0-1.fc31, 5.26.0-1.fc32
External References
- https://bitbucket.org/tildeslash/monit/commits/1a8295eab6815072a18019b668fe084945b751f3
- https://bitbucket.org/tildeslash/monit/commits/328f60773057641c4b2075fab9820145e95b728c
- https://github.com/dzflack/exploits/blob/master/unix/monit_xss.py
- https://lists.debian.org/debian-lts-announce/2019/04/msg00028.html
- https://usn.ubuntu.com/3971-1/