SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   Courier Mail Server Vendors:   Double Precision, Inc.
(Gentoo Issues Fix for Courier) SqWebMail Input Validation Bug in print_header_uc() Lets Remote Users Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1010862
SecurityTracker URL:  http://securitytracker.com/id/1010862
CVE Reference:   CVE-2004-0591   (Links to External Site)
Date:  Aug 4 2004
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 4.0.4.20040524
Description:   An input validation vulnerability was reported in SqWebMail. A remote user can conduct cross-site scripting attacks. Courier is affected.

Luca Legato reported that the print_header_uc() function in 'folder.c' does not properly filter HTML code. A remote user can create a specially crafted e-mail that, when viewed by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the SqWebMail software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The report indicated that a MIME Content-Type "message/delivery-status" header can be used to exploit the flaw.

The vendor was reportedly notified on June 11, 2004.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the SqWebMail software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   Gentoo has released a fix for Courier, which is affected by the SqWebMail vulnerability:

# emerge sync

# emerge -pv ">=mail-mta/courier-0.45.6.20040618"
# emerge ">=mail-mta/courier-0.45.6.20040618"

Vendor URL:  www.inter7.com/sqwebmail/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Jun 22 2004 SqWebMail Input Validation Bug in print_header_uc() Lets Remote Users Conduct Cross-Site Scripting Attacks



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200408-02 ] Courier: Cross-site scripting vulnerability in


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200408-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Courier: Cross-site scripting vulnerability in SqWebMail
      Date: August 04, 2004
      Bugs: #58020
        ID: 200408-02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The SqWebMail web application, included in the Courier suite, is
vulnerable to cross-site scripting attacks.

Background
==========

Courier is an integrated mail and groupware server based on open
protocols. It provides ESMTP, IMAP, POP3, webmail, and mailing list
services within a single framework. The webmail functionality included
in Courier called SqWebMail allows you to access mailboxes from a web
browser.

Affected packages
=================

    -------------------------------------------------------------------
     Package           /   Vulnerable   /                  Unaffected
    -------------------------------------------------------------------
  1  mail-mta/courier       <= 0.45.6              >= 0.45.6.20040618

Description
===========

Luca Legato found that SqWebMail is vulnerable to a cross-site
scripting (XSS) attack. An XSS attack allows an attacker to insert
malicious code into a web-based application. SqWebMail doesn't filter
appropriately data coming from message headers before displaying them.

Impact
======

By sending a carefully crafted message, an attacker can inject and
execute script code in the victim's browser window. This allows to
modify the behaviour of the SqWebMail application, and/or leak session
information such as cookies to the attacker.

Workaround
==========

There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version of Courier.

Resolution
==========

All Courier users should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=mail-mta/courier-0.45.6.20040618"
    # emerge ">=mail-mta/courier-0.45.6.20040618"

References
==========

  [ 1 ] CAN-2004-0591
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0591
  [ 2 ] XSS definition
        http://www.cert.org/advisories/CA-2000-02.html

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

    http://security.gentoo.org/glsa/glsa-200408-02.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBEQXovcL1obalX08RAqg6AJ9GN2Cp6GME/aZSGSAKW27WosrGfACfYga2
Cwss+8VoQYFfibga3lkffy8=
=Tyco
-----END PGP SIGNATURE-----

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC