Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 70739
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rajiv Aaron Manglani <rajiv@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70739 depends on: Show dependency tree
Bug 70739 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-10 21:18 0000
From: 	  jon@squirrelmail.org
	Subject: 	[SquirrelMail Security Advisory] Cross Site Scripting in encoded text
	Date: 	November 10, 2004 1:04:51 AM EST
	To: 	  squirrelmail-devel@lists.sourceforge.net, squirrelmail-announce@lists.sourceforge.net
	Cc: 	  squirrelmail-users@lists.sourceforge.net, squirrelmail-plugins@lists.sourceforge.net, bugtraq@securityfocus.com

SquirrelMail Security Notice
============================

About
-----
SquirrelMail is a standards-based webmail package written in PHP4. It
includes built-in pure PHP support for the IMAP and SMTP protocols,
and all pages render in pure HTML 4.0 (with no JavaScript required)
for maximum compatibility across browsers. It has very few
requirements and is very easy to configure and install. SquirrelMail
has all the functionality you would want from an email client,
including strong MIME support, address books, and folder manipulation.

Details
-------
There is a cross site scripting issue in the decoding of encoded text
in certain headers. SquirrelMail correctly decodes the specially
crafted header, but doesn't sanitize the decoded strings.

Affected
--------
SquirrelMail 1.4.3a and earlier
SquirrelMail 1.5.1-cvs before 23rd October 2004

Resolution
----------
A patch has been published to resolve this issue for the SquirrelMail
1.4.3a branch, and can be downloaded from here:


http://prdownloads.sourceforge.net/squirrelmail/sm143a-xss.diff?download

To apply this patch, copy the sm143a-xss.diff file into the base
SquirrelMail directory, and follow the command:

  patch -p0 < sm143a-xss.diff

Those using SquirrelMail 1.5.1-cvs should update using CVS, or use a
copy of the latest snapshot downloadable from the SquirrelMail
website
at:

  http://www.squirrelmail.org


Acknowledgements
----------------
Special thanks goes to Joost Pol for notifying us about this issue.


Comments
--------
The SquirrelMail development team work hard with people reporting
security issues in an attempt to resolve issues. We appreciate those
that are willing to dedicate the time to work with us on any issue
they uncover in the SquirrelMail project.

If any further issues are uncovered, a dedicated mail address can be
used to report the issue.  The address is security@squirrelmail.org.

-- 
Jonathan Angliss
(jon@squirrelmail.org)

------- Comment #1 From Sune Kloppenborg Jeppesen 2004-11-10 22:34:20 0000 -------
Jeremy please provide a fixed ebuild.

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-11-11 00:23:50 0000 -------
the second chunk of that patch looks bad... I'm gonna verify upstream...

------- Comment #3 From Jeremy Huddleston (RETIRED) 2004-11-11 00:35:25 0000 -------
Stuart, how do you force all vhosts using an old version of a webapp to update
to the new one?  Can this information be included in the glsa for glsa-check
automation?

ppc: please test out 1.4.3a-r2 and mark stable

------- Comment #4 From Jeremy Huddleston (RETIRED) 2004-11-11 00:36:04 0000 -------
oh, and for the record I checked the second hunk and I was confused... it's
fine...

------- Comment #5 From Jochen Maes (RETIRED) 2004-11-11 07:14:40 0000 -------
stable on ppc

------- Comment #6 From Sune Kloppenborg Jeppesen 2004-11-14 10:06:14 0000 -------
GLSA drafted Security please review.

------- Comment #7 From Sune Kloppenborg Jeppesen 2004-11-17 01:45:03 0000 -------
GLSA 200411-25

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug