Gentoo Logo

Courier: Cross-site scripting vulnerability in SqWebMail

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200408-02 / Courier
Release Date August 04, 2004
Latest Revision August 04, 2004: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
mail-mta/courier <= 0.45.6 >= 0.45.6.20040618 All supported architectures

Related bugreports: #58020

Synopsis

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

2.  Impact Information

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.

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.

3.  Resolution Information

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:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated August 04, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.