SqWebMail Conditional Comments Script Insertion Vulnerability
Secunia Advisory: SA16704
Release Date: 2005-09-06
Last Update: 2005-09-26
Popularity: 6,609 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Vendor Patch

Software:SqWebMail 3.x
SqWebMail 4.x
SqWebMail 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2820


Description:
Secunia Research has discovered a vulnerability in SqWebMail, which can be exploited by malicious people to conduct script insertion attacks.

The vulnerability is caused due to SqWebMail allowing usage of e.g. the "<script>" tag within an HTML comment. This, combined with "Conditional Comments" in Internet Explorer, can be exploited to execute arbitrary script code in a user's browser session in context of a vulnerable site when a malicious email is viewed.

Successful exploitation requires that the user is using Internet Explorer.

Example in an HTML email:
<!--[if IE]>
<script>alert("Vulnerable!");</script>
<![endif]-->

The vulnerability has been confirmed in version 5.0.4. Prior version may also be affected.

Solution:
The vendor has issued an updated version of SqWebMail, which fixes this vulnerability.
http://www.courier-mta.org/?download.php

Provided and/or discovered by:
Jakob Balle, Secunia Research.

Changelog:
2005-09-26: Added CVE reference.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2005-44/advisory/

Other References:
Information about "Conditional Comments":
http://msdn.microsoft.com/library/def...uthor/dhtml/overview/ccomment_ovw.asp


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 Office Two Code Execution Vulnerabilities // 19 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 15 views
3. Drupal Content Construction Kit Script Insertion Vulnerabilities // 14 views
4. phpBB "gen_rand_string()" Predictable RNG Weakness // 14 views
5. phpBB Multiple Vulnerabilities // 13 views
6. phpBB reveals user IPs // 10 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 10 views
8. Apple QuickTime Multiple Vulnerabilities // 10 views
9. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 10 views
10. phpBB "url" bbcode Script Insertion Vulnerability // 9 views