Secunia Research: WinGate IMAP Commands Directory Traversal Vulnerability

====================================================================== 

                    Secunia Research 10/07/2006

     - WinGate IMAP Commands Directory Traversal Vulnerability -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Secunia........................................................8
Verification.........................................................9

====================================================================== 
1) Affected Software 

* WinGate version 6.1.2.1094 and 6.1.3.1096.

Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Moderately Critical
Impact: Security bypass
        Exposure of sensitive information
Where:  Remote

====================================================================== 
3) Description of Vulnerability

Secunia Research has discovered a vulnerability in WinGate, which can
be exploited by malicious users to disclose potentially sensitive
information and bypass certain security restrictions.

The vulnerability is caused due to a directory traversal error in the
"CREATE", "SELECT", "DELETE", "RENAME", "COPY", "APPEND", and "LIST" 
commands of the IMAP service. This can be exploited by an 
authenticated user to read other users' emails, create/rename 
arbitrary directories on the system, and delete certain directories.

====================================================================== 
4) Solution 

Update to version 6.1.4 Build 1099.

====================================================================== 
5) Time Table 

16/06/2006 - Initial vendor notification.
17/06/2006 - Initial vendor reply.
10/07/2006 - Public disclosure.

====================================================================== 
6) Credits 

Discovered by Tan Chew Keong, Secunia Research.

====================================================================== 
7) References

The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2006-2917 for the vulnerability.

====================================================================== 
8) About Secunia 

Secunia collects, validates, assesses, and writes advisories regarding 
all the latest software vulnerabilities disclosed to the public. These 
advisories are gathered in a publicly available database at the 
Secunia website: 

http://secunia.com/

Secunia offers services to our customers enabling them to receive all 
relevant vulnerability information to their specific system 
configuration. 

Secunia offers a FREE mailing list called Secunia Security Advisories: 

http://secunia.com/secunia_security_advisories/

====================================================================== 
9) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2006-48/advisory/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================