CVE-2004-1898

Monit 1.4-4.2 - Stack-Based Buffer Overflow via Long Username

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-1898. PoCs published by rtk.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in Monit <= 4.2 by sending a maliciously crafted HTTP request with an overly long Base64-encoded Basic Authentication header. It includes shellcode to spawn a bind shell on port 31337.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by rtk · cremotelinux
https://www.exploit-db.com/exploits/580

This exploit targets a buffer overflow vulnerability in Monit <= 4.2 by sending a maliciously crafted HTTP request with an overly long Base64-encoded Basic Authentication header. It includes shellcode to spawn a bind shell on port 31337.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Monit <= 4.2
No auth needed
Prerequisites: Network access to the target Monit service · Target must be running a vulnerable version of Monit
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Various Sources x_refsource_misc
http://www.tildeslash.com/monit/changes.html
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/10051
Various Sources x_refsource_confirm
http://www.tildeslash.com/monit/secadv_20040305.txt
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=108119149103696&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/4981
Patch third-party-advisory x_refsource_secunia
http://secunia.com/advisories/11304
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/15735
Third Party Advisory mailing-list x_refsource_vulnwatch
http://archives.neohapsis.com/archives/vulnwatch/2004-q1/0076.html

Scores

EPSS 0.1657
EPSS Percentile 96.6%

Details

Status published
Products (9)
tildeslash/monit 1.4
tildeslash/monit 3.0
tildeslash/monit 3.1
tildeslash/monit 3.2
tildeslash/monit 4.0
tildeslash/monit 4.1
tildeslash/monit 4.1.1
tildeslash/monit 4.2
tildeslash/monit 4.3_beta_2
Published Dec 31, 2004
Tracked Since Feb 18, 2026