Bug 473877 (CVE-2008-2379)

Summary: CVE-2008-2379 squirrelmail: XSS issue caused by an insufficient html mail sanitation
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: kreilly, mhlavink
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-12 14:48:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 473288, 473289, 473290, 473291, 473881, 833979    
Bug Blocks:    
Attachments:
Description Flags
Upstream patch for SquirrelMail 1.4.x
none
Upstream patch for SquirrelMail 1.5.x none

Description Tomas Hoger 2008-12-01 08:55:11 UTC
SquirrelMail upstream reports:

Ivan Markovic discovered a cross site scripting issue in SquirrelMail.
Vulnerable is at least 1.4.16, 15 and probably all earlier 1.4.x versions.
It is possible to trigger this by sending a malicious HTML email message
to a user who has the Show HTML Version setting turned on.

Comment 1 Tomas Hoger 2008-12-01 08:57:39 UTC
This issue also affects users that do not have "Show HTML Version by Default" enabled, but select "View" action on specially crafted HTML attachment.

Comment 2 Tomas Hoger 2008-12-01 08:59:10 UTC
Created attachment 325189 [details]
Upstream patch for SquirrelMail 1.4.x

Comment 3 Tomas Hoger 2008-12-01 08:59:45 UTC
Created attachment 325190 [details]
Upstream patch for SquirrelMail 1.5.x

Comment 7 Tomas Hoger 2008-12-04 10:37:13 UTC
Public now via:
  http://secunia.com/advisories/32143/

Fixed upstream in 1.4.17 (quoting ReleaseNotes):
  An issue was fixed that allowed an attacker to send specially-
  crafted hyperlinks in a message that could execute cross-site
  scripting (XSS) when the user viewed the message in SquirrelMail.

  We would like to thank Secunia Research for reporting this issue
  to us. It is tracked as CVE-2008-2379.

Upstream SVN commit, 1.4 branch:
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13338

Comment 11 Fedora Update System 2008-12-07 04:13:12 UTC
squirrelmail-1.4.17-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2008-12-07 04:13:57 UTC
squirrelmail-1.4.17-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2008-12-07 04:33:40 UTC
squirrelmail-1.4.17-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Tomas Hoger 2008-12-08 07:33:47 UTC
Upstream advisory:
  http://www.squirrelmail.org/security/issue/2008-12-04