Secunia Logo Secunia CSI integrated with Microsoft WSUS for 3rd Party Patch Management 


Secunia PSI WorldMap
 
IceWarp Web Mail Two File Inclusion Vulnerabilities
Secunia Advisory: SA18953
Release Date: 2006-07-17
Popularity: 8,902 views

Critical:
Highly critical
Impact: Exposure of sensitive information
System access
Where: From remote
Solution Status: Vendor Patch

Software:IceWarp Web Mail 5.x
Merak Mail Server 8.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
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 to compromise a vulnerable system.

1) Input passed to the "language" and "lang_settings" parameters in "/accounts/inc/include.php" and "/admin/inc/include.php" isn't 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 be further 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" isn't properly validated before being saved to the database. This can be exploited in conjunction with overwrite of the "lang_settings" variable, which isn't 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

The vulnerabilities have been confirmed in Merak Mail Server version 8.3.8.r with IceWarp Web Mail 5.6.0. Prior versions may also be affected.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



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. Microsoft DirectShow AVI File Parsing Buffer Overflow Vulnerability // 93 views
2. Microsoft Windows TCP/IP Implementation Vulnerabilities // 82 views
3. Microsoft Internet Explorer Local File Disclosure Vulnerabilities // 47 views
4. Microsoft Windows "ShellExecute()" Input Validation Vulnerability // 43 views
5. Microsoft Data Analyzer ActiveX Control Vulnerability // 41 views
6. Microsoft Office PowerPoint Multiple Vulnerabilities // 38 views
7. Adobe Flash Player Multiple Vulnerabilities // 38 views
8. Microsoft Windows Paint JPEG Parsing Integer Overflow Vulnerability // 35 views
9. Microsoft Office File Parsing Buffer Overflow Vulnerability // 29 views
10. Microsoft Windows SMB Server Multiple Vulnerabilities // 29 views