Bug 1074683

Summary: claws-mail: vcalendar plugin stores username/password on-disk in cleartext
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas.bierfert, collura, pcfe, tradej, vkaigoro, vkrizan
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: 2015-08-22 06:16:41 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: 1074685, 1074686    
Bug Blocks:    

Description Vincent Danen 2014-03-10 20:25:23 UTC
It was reported [1] that the Claws vCalendar plugin stored usernames and passwords on-disk in cleartext format.

Typically ~/.claws-mail should be mode 0750 and owned by the user so there should be no casual "leaking" of credentials; likewise most home directories on Fedora should be mode 0700.  Yet Claws should ideally not be storing these credentials in cleartext.

[1] http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3099

Comment 1 Vincent Danen 2014-03-10 20:30:39 UTC
Created claws-mail tracking bugs for this issue:

Affects: fedora-all [bug 1074685]
Affects: epel-all [bug 1074686]

Comment 2 Michael Schwendt 2014-03-12 09:30:22 UTC
Could this ticket be kept accurate about describing the real issue? I've been following the upstream ticket as a subscriber of a ML, and it has been said that the credentials only enter a non-encrypted cache file if specified inside an URI user:pass@server.

Comment 3 Tomas 'Sheldon' Radej 2014-03-12 10:21:48 UTC
Not only the cache file, but the URI (as you described) is stored in the folder list in .claws-mail folder in full and plain form. HTTP-authenticated access to calendar is currently not possible any other way.

Comment 4 Vincent Danen 2014-03-13 18:55:56 UTC
I don't believe the initial description was "inaccurate".  Perhaps it didn't provide all the details as in the upstream bug, but that's why the upstream bug was linked.