Vulnerabilities > CVE-2008-1358 - Buffer Errors vulnerability in Altn Mdaemon 9.6.4

047910
CVSS 6.5 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
altn
CWE-119
nessus
exploit available
metasploit

Summary

Stack-based buffer overflow in the IMAP server in Alt-N Technologies MDaemon 9.6.4 allows remote authenticated users to execute arbitrary code via a FETCH command with a long BODY.

Vulnerable Configurations

Part Description Count
Application
Altn
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

  • descriptionMDaemon 9.6.4 IMAPD FETCH Buffer Overflow. CVE-2008-1358. Remote exploit for windows platform
    idEDB-ID:16482
    last seen2016-02-01
    modified2010-06-15
    published2010-06-15
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16482/
    titleMDaemon 9.6.4 IMAPD FETCH Buffer Overflow
  • descriptionMDaemon IMAP server 9.6.4 (FETCH) Remote Buffer Overflow Exploit. CVE-2008-1358. Remote exploit for windows platform
    fileexploits/windows/remote/5248.py
    idEDB-ID:5248
    last seen2016-01-31
    modified2008-03-13
    platformwindows
    port143
    published2008-03-13
    reporterryujin
    sourcehttps://www.exploit-db.com/download/5248/
    titleMDaemon IMAP server 9.6.4 - FETCH Remote Buffer Overflow Exploit
    typeremote

Metasploit

descriptionThis module exploits a stack buffer overflow in the Alt-N MDaemon IMAP Server version 9.6.4 by sending an overly long FETCH BODY command. Valid IMAP account credentials are required. Credit to Matteo Memelli
idMSF:EXPLOIT/WINDOWS/IMAP/MDAEMON_FETCH
last seen2020-03-23
modified2017-11-08
published2008-04-06
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1358
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/imap/mdaemon_fetch.rb
titleMDaemon 9.6.4 IMAPD FETCH Buffer Overflow

Nessus

NASL familyWindows
NASL idMDAEMON_965.NASL
descriptionAccording to its banner, the version of MDaemon installed on the remote host contains a stack-based buffer overflow in its IMAP server component that can be triggered via a FETCH command with a long BODY data item. An authenticated, remote attacker may be able to leverage this issue to crash the affected service or execute arbitrary code subject to the privileges under which the service operates. Note that MDaemon by default runs as a service with SYSTEM privileges under Windows so successful exploitation could result in a complete compromise of the affected system.
last seen2020-06-01
modified2020-06-02
plugin id31640
published2008-03-21
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/31640
titleMDaemon IMAP Server FETCH Command Remote Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/83208/mdaemon_fetch.rb.txt
idPACKETSTORM:83208
last seen2016-12-05
published2009-11-26
reporterpatrick
sourcehttps://packetstormsecurity.com/files/83208/MDaemon-9.6.4-IMAPD-FETCH-Buffer-Overflow.html
titleMDaemon 9.6.4 IMAPD FETCH Buffer Overflow

Saint

bid28245
descriptionMDaemon IMAP FETCH command buffer overflow
idmail_imap_mdaemon
osvdb43111
titlemdaemon_imap_fetch
typeremote