Description
Stack-based buffer overflow in the administration interface in Monit 1.4 through 4.2 allows remote attackers to execute arbitrary code via a long username.
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 - Basic Authentication Remote Code Execution EDB-580 · remote · Oct 17, 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
- 4981 vdb-entry
- 11304 third-party-advisory
- monit-offbyone-bo(15735) vdb-entry
- 20040405 [VulnWatch] Advisory: Multiple Vulnerabilities in Monit mailing-list