Sending a message as attachment leads to unwanted X-Mozilla-Cloud-Part: cloudFile; header plus url with data constituting a privacy breach
Categories
(MailNews Core :: Composition, defect)
Tracking
(thunderbird_esr102? fixed, thunderbird103 fixed)
People
(Reporter: b1, Assigned: TbSync)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr102+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49
Steps to reproduce:
Attach a message as a message attachment.
Actual results:
The attachment header has:
X-Mozilla-Cloud-Part: cloudFile;
url=imap-message://user%40domain.com@mail.server.com/INBOX/Test#75
Content-Type: message/rfc822; charset=UTF-8; name="test.eml"
Content-Disposition: attachment; filename="test.eml"
Content-Transfer-Encoding: 7bit
Expected results:
The X-Mozilla-Cloud-Part is not needed, the second line constitutes a privacy breach, it's none of the recipients business to know the internals of the senders message storage.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 3•9 months ago
|
||
I found the same, still testing a few things.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 4•9 months ago
|
||
Aesthetically it's unclear why you enter getXMozillaCloudPart()
for non-cloud attachments, hence our proposal with the if-block outside the function.
Assignee | ||
Updated•9 months ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/ca922791520a
Add x-mozilla-cloud-part header only for cloudFile attachments. r=thunderbird-reviewers,rjl
Updated•9 months ago
|
Assignee | ||
Comment 7•9 months ago
|
||
Comment on attachment 9284889 [details]
Bug 1778915 - Add x-mozilla-cloud-part header only for cloudFile attachments. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #):
1670791
User impact if declined:
Leak info about IMAP folder structure / account name in wrongly added x-mozilla-cloud-part header
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low, I only added an if-condition to include the header only if the attachment is a cloudFile attachment
Comment 8•9 months ago
|
||
Comment on attachment 9284889 [details]
Bug 1778915 - Add x-mozilla-cloud-part header only for cloudFile attachments. r=#thunderbird-reviewers
[Triage Comment]
Approved for beta
Comment 9•9 months ago
|
||
bugherderuplift |
Thunderbird 103.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/1ee449b3665e
Assignee | ||
Comment 10•9 months ago
|
||
Comment on attachment 9284889 [details]
Bug 1778915 - Add x-mozilla-cloud-part header only for cloudFile attachments. r=#thunderbird-reviewers
[Approval Request Comment]
Regression caused by (bug #):
1670791
User impact if declined:
Leak info about IMAP folder structure / account name in wrongly added x-mozilla-cloud-part header
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Low, I only added an if-condition to include the header only if the attachment is a cloudFile attachment
Comment 11•8 months ago
|
||
Comment on attachment 9284889 [details]
Bug 1778915 - Add x-mozilla-cloud-part header only for cloudFile attachments. r=#thunderbird-reviewers
[Triage Comment]
Approved for esr102
Comment 12•8 months ago
|
||
bugherderuplift |
Thunderbird 102.0.3:
https://hg.mozilla.org/releases/comm-esr102/rev/f7ef690288f2
Description
•