Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601952 - Add List-Unsubscribe headers to all Bugzilla mail
Summary: Add List-Unsubscribe headers to all Bugzilla mail
Status: CONFIRMED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-08 07:19 UTC by Robin Johnson
Modified: 2016-12-08 17:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-12-08 07:19:25 UTC
The recent incident where a bugzilla user email address now delivered to a spamtrap would have been preventable if the Bugzilla mail contained a List-Unsubscribe header, ideally one that just disables the user's Bugzilla email delivery.

The value in the header should contain a unique token that disables for that account only, and cannot be used to disable another account. I suggest a hmac model.

Maybe http://...bugzilla/list-unsubscribe?h=$EMAIL&k=$KEY where KEY = HASH(EMAIL, hashed-password).

Any attacker wanting to disable the email for another user would need to know their bugzilla password hash to exploit it, and if they know that, we have larger problems. This also saves having to generate/track any other tokens.
Comment 1 SpanKY gentoo-dev 2016-12-08 17:07:52 UTC
should mix in a limited datestamp too like YYYYMM.  bugzilla would then only accept the current & previous months and the rest would expire.

seems like a reasonable upstream request too.  i don't see any bugs there though.