J-Security Center

Title: Alt-N MDaemon/WorldClient Form2Raw Raw Message Handler Buffer Overflow Vulnerability

Severity: HIGH

Description:

MDaemon is a mail server for Microsoft Windows operating systems. It includes WorldClient, which is a web-based email client.

A vulnerability has been identified in MDaemon/WorldClient mail server when handling certain messages with a 'From' field of over 249 bytes. Because of this, it may be possible for a remote attacker to gain unauthorized access to a system running the vulnerable software. The condition is present due to insufficient boundary checking.

It has been reported that FORM2RAW.exe is a CGI script used by MDaemon for sending and receiving mail via the web. In order to send a message, FORM2RAW.exe creates a RAW message file in the Raw queue Directory of MDaemon mail server by processing an HTML form.

The issue presents itself when an attacker composes and sends a message with more than 249 bytes of data in the 'From' field of the message. The resulting RAW message file is reported to cause a denial of service condition in the server.

An attacker may leverage the issue by exploiting an unbounded memory copy operation to overwrite the saved return address/base pointer, causing an affected procedure to return to an address of their choice. Successful exploitation of this issue may allow an attacker to execute arbitrary code in the context of the vulnerable software in order to gain unauthorized access.

Affected Products:

  • Alt-N MDaemon 6.5.2
  • Alt-N MDaemon 6.7.5
  • Alt-N MDaemon 6.7.9
  • Alt-N MDaemon 6.8.0.0
  • Alt-N MDaemon 6.8.1
  • Alt-N MDaemon 6.8.2
  • Alt-N MDaemon 6.8.3
  • Alt-N MDaemon 6.8.4
  • Alt-N MDaemon 6.8.5

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.