Description
Administration interface in Monit 1.4 through 4.2 allows remote attackers to cause a denial of service (segmentation fault) by sending a Basic Authentication request without a password, which causes Monit to decrement a null pointer and perform an out-of-bounds read.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | monit | 1:4.2.1-1 | — |
| Debian 13 | monit | 1:4.2.1-1 | — |
| Debian 12 | monit | 1:4.2.1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Monit 4.2 - Remote Buffer Overflow EDB-174 · remote · Apr 12, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.tildeslash.com/monit/changes.html
- 10051 vdb-entry
- http://www.tildeslash.com/monit/secadv_20040305.txt
- 20040405 Advisory: Multiple Vulnerabilities in Monit mailing-list
- 11304 third-party-advisory
- monit-basic-auth-dos(15734) vdb-entry