MDaemon Insecure Default Directory Permissions
Secunia Advisory: SA21554
Release Date: 2006-11-16
Last Update: 2006-11-20
Popularity: 5,968 views

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

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-5968


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/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest 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.

Most Popular - 3 Hours

1. Subdreamer Light Global Variables SQL Injection Vulnerability // 32 views
2. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 30 views
3. Zeroboard Multiple Vulnerabilities // 26 views
4. Sun Java JDK / JRE Multiple Vulnerabilities // 23 views
5. Microsoft Office Two Code Execution Vulnerabilities // 20 views
6. Microsoft Word Malformed Object Pointer Vulnerability // 19 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 19 views
8. Adobe Flash Player Multiple Vulnerabilities // 19 views
9. WMNews Cross-Site Scripting Vulnerabilities // 19 views
10. Zeroboard Two Vulnerabilities // 17 views