Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


MDaemon Insecure Default Directory Permissions Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA21554  
Release Date: 2006-11-16
Last Update: 2006-11-20

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Unpatched

Software:MDaemon 5.x
MDaemon 6.x
MDaemon 7.x
MDaemon 8.x
MDaemon 9.x

CVE reference:CVE-2006-5968 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


Description:
Secunia Research has discovered a security issue in MDaemon, which can be exploited by malicious, local users to gain escalated privileges.

The problem is caused due to the application by default being installed in the "MDaemon" folder in the system root with insecure permissions (granting members of the "Users" group permissions to create files and directories). This can be exploited by e.g. placing a malicious RASAPI32.DLL or MPRAPI.DLL library in the "MDaemon\APP" directory.

Successful exploitation allows execution of arbitrary code with SYSTEM privileges.

The security issue is confirmed in versions 9.0.5, 9.0.6, 9.51, and 9.53. Other versions may also be affected.

NOTE: This is a general problem for the majority of Windows applications when installed outside the "Program Files" folder due to the way libraries are located.

Solution:
Set secure permissions on the directory or install in the "Program Files" folder (according to the vendor, this should not have an impact on the functionality of the application).

NOTE: The vendor has attempted to prevent exploitation in later versions by checking for the presence of RASAPI32.DLL in the mentioned folder. However, this only fixes exploitation using this specific filename and not the problem itself.

Provided and/or discovered by:
Secunia Research

Changelog:
2006-11-20: Added CVE reference.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-67/



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

15 Related Secunia Security Advisories, displaying 10

1. MDaemon WorldClient Multiple Vulnerabilities
2. MDaemon IMAP Server "FETCH" Command Buffer Overflow
3. MDaemon Server DomainPOP malformed Messages Denial of Service
4. MDaemon Server WorldClient Unspecified Vulnerability
5. MDaemon POP3 Server Buffer Overflow Vulnerabilities
6. MDaemon IMAP Mail Folder Name Denial of Service
7. MDaemon WorldClient LookOut Theme Inbox Denial of Service Weakness
8. MDaemon Content Filter Directory Traversal Vulnerability
9. MDaemon IMAP Authentication Denial of Service Vulnerability
10. MDaemon New File Creation Privilege Escalation Vulnerability

Show all related advisories


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Red Hat update for vsftpd
2.
Red Hat update for rdesktop
3.
Red Hat update for rdesktop
4.
OpenBSD BIND Query Port DNS Cache Poisoning
5.
Linux Kernel LDT Buffer Size Handling Vulnerability
6.
Debian update for clamav
7.
Red Hat update for coreutils
8.
Red Hat update for nss_ldap
9.
Drupal Session Fixation Vulnerability
10.
Apple Safari Cross-Domain Cookie Injection Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia