Secunia Logo  


Secunia PSI WorldMap
 
IceWarp Web Mail Two File Inclusion Vulnerabilities
Secunia Advisory: SA18953
Release Date: 2006-07-17
Popularity: 8,615 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

6th Nov, 2009
New advisories: 17
New vulnerabilities: 65
Updated advisories: 21

Less // 356 views
Debian update for linux-2.6.24
Less // 340 views
Debian update for linux-2.6
Moderately // 319 views
Gentoo update for horde
Less // 331 views
Fedora update for kernel
Less // 322 views
Fedora update for kernel
Moderately // 324 views
Ubuntu update for libgd2
Moderately // 338 views
Ubuntu update for libgd2
Highly // 342 views
Fedora update for alienarena-data

Solutions | More...  


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. Sun Java JDK / JRE Multiple Vulnerabilities // 44 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 23 views
3. Adobe Flash Player Multiple Vulnerabilities // 20 views
4. Google Chrome Two Vulnerabilities // 17 views
5. Adobe Reader/Acrobat Multiple Vulnerabilities // 17 views
6. OpenSSL TLS Session Renegotiation Plaintext Injection Vulnerability // 15 views
7. Mozilla Firefox Multiple Vulnerabilities // 14 views
8. Citrix NetScaler / Access Gateway Denial of Service Vulnerability // 12 views
9. GnuTLS TLS Session Renegotiation Plaintext Injection Vulnerability // 11 views
10. Apple Mac OS X "ptrace()" Denial of Service Vulnerability // 7 views