NDA Slack Users Can Manage Apps/Channels & Compromise Potential Mozilla User Accounts
Categories
(Websites :: Other, defect)
Tracking
(Not tracked)
People
(Reporter: griffin.francis.1993, Assigned: claudijd)
References
Details
(Keywords: reporter-external, sec-high, wsec-authorization)
Attachments
(9 files)
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
| Reporter | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Reporter | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
| Assignee | ||
Comment 8•7 years ago
|
||
| Reporter | ||
Comment 9•7 years ago
|
||
| Reporter | ||
Comment 10•7 years ago
|
||
| Reporter | ||
Comment 11•7 years ago
|
||
| Reporter | ||
Comment 12•7 years ago
|
||
| Reporter | ||
Comment 13•7 years ago
|
||
| Assignee | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
| Assignee | ||
Comment 16•7 years ago
|
||
| Assignee | ||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
| Assignee | ||
Comment 19•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Reporter | ||
Comment 20•7 years ago
|
||
| Reporter | ||
Comment 21•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 22•7 years ago
|
||
Comment 23•6 years ago
|
||
It looks like the blueberry account (blueberry@mozilla.com) created for testing was not disabled?
If it's no longer required, can this be disabled?
NI'ing :claudijd and :kang.
| Assignee | ||
Comment 24•6 years ago
|
||
(In reply to Caglar Ulucenk [:Cag] from comment #23)
It looks like the blueberry account (blueberry@mozilla.com) created for testing was not disabled?
If it's no longer required, can this be disabled?
NI'ing :claudijd and :kang.
cag: in what system? (BMO, FxA, LDAP, etc.)
| Reporter | ||
Comment 25•6 years ago
|
||
Account is still active within FxA.
| Assignee | ||
Comment 26•6 years ago
|
||
cag/griffin: that work is tracked in bug 1502869, but no progress has been made, I'll ping relevant folks for help.
Comment 27•6 years ago
|
||
I'm not sure if it's only FxA, our CIS API returns:
"{\"user_email\": \"blueberry@mozilla.com\", \"connection_method\": \"ad\"}" which seems to indicate it's active in LDAP as well.
| Assignee | ||
Comment 29•6 years ago
|
||
I spoke to Griffin about this yesterday, he noted specifically the FxA accounts were still active, the tracking for that is in bug 1502869
this user is in LDAP, i can't delete it (permission-wise)
@jabba can you delete it?
Regarding https://bugzilla.mozilla.org/show_bug.cgi?id=1502869 <= i don't have access, if i'm not needed thats fine though
for what its worth blueberry@mozilla.com is not in auth0 directly (ie its not been used since it was deleted there)
| Reporter | ||
Comment 31•6 years ago
|
||
I am attempting to sign into LDAP with the password which I set on the FXA account without success, I would say it has been set to something else?
| Assignee | ||
Comment 32•6 years ago
|
||
(In reply to Guillaume Destuynder [:kang] (NEEDINFO to ensure replies) (TZ: PDT) from comment #30)
this user is in LDAP, i can't delete it (permission-wise)
@jabba can you delete it?Regarding https://bugzilla.mozilla.org/show_bug.cgi?id=1502869 <= i don't have access, if i'm not needed thats fine though
You've been CC'd (jabba as well).
Comment 33•6 years ago
|
||
I'm not seeing this account in LDAP, nor do I see any evidence that it ever was in LDAP?
| Reporter | ||
Comment 34•6 years ago
|
||
Just double checking back on this report, it appears the email hubs@mozilla.com is still affected.
| Reporter | ||
Comment 35•6 years ago
|
||
Comment 36•6 years ago
|
||
Griffin reached out to me about this and we had discussed and explored it for a fair bit. Looks like hubs@mozilla.com is a google groups email.
I think there are a couple of things to mention here:
- hubs integration is still affected by this, in a very similar - if not the same - fashion as the original report from last year. Since this is an existing integration, I am not sure what to do or suggest, also in light of comment 19.
- I see the original account used to report (danger@mozilla.com) was disabled, perhaps we can disable this one as well, although it looks like it has a valid use for Hubs/WebVR folks. Perhaps making this integration private may help conceal the issue? Although not sure if such change may break the integration (I do not know much about Slack integrations).
- Note, this also means I asked Griffin to explore the same path again, using hubs@mozilla.com i.e. create an FxA account, then a GitHub account and then try to access BMO again. The BMO access appears the same as was stated in comment 12 and comment 18. Both Griffin and I have access to these accounts created with hubs@mozilla.com.
- hubs.mozilla.com can be logged into with this, using hubs@mozilla.com email, since login to this website is possible with an email address only (A one time login link is sent to the email address). However the impact of this is not clear. There is an admin page which can be navigated (at /admin), but effectively no content is shown/loaded.
Will add screenshots shorty to make it clearer.
Jonathan, what do you think? Is there anything specific we should do for this instance? Also re: BMO access, looks like nothing changed since last time, likely due to the departure of Dylan, who was supposed to work on bug 1501693.
I will also loop in edunham, who appears to setup the Slack integration and may have input for the points above.
Comment 37•6 years ago
|
||
Comment 38•6 years ago
|
||
Comment 39•6 years ago
|
||
edunham, I will try to summarise the issue for you:
Emails sent to hubs@mozilla.com is posted in the #hubs-support Slack channel due to a Slack integration. Users who can see the details of the integrations (as it is not private) - currently this includes Mozilla employees and NDA'ed contributors (like Griffin) - can abuse this to have access to the emails sent to this address (via the Slack channel), including password reset emails like the one from Twitter (as attached). This was an issue we identified last year for another Slack integration, and had investigated quite a bit for an impact since it can be used as a venue to take partial control of an @mozilla.com address and access places/websites that typical NDA'ed contributors should not be able to access.
My specific questions to you are:
- Do you think it's possible to make this integration private, without breaking its functionality? I am asking this based on the assumption that we cannot entirely disable this integration, since it looks like it is actively in use for hubs.mozilla.com.
- Is it a concern that this email can be used to login to hubs.mozilla.com, and access to seemingly an admin part of the website? You may not know the answer of this, if not please let me know who I should contact (or feel free to loop them in).
Comment 40•6 years ago
|
||
Quick update: Griffin has disabled Bugzilla, FxA and GitHub accounts created with hubs@mozilla.com.
Comment 41•6 years ago
|
||
I'm no longer involved with Research ops -- needinfo-ing Lars, who can put you in touch with whoever's currently responsible for that integration.
Updated•6 years ago
|
Comment 42•6 years ago
|
||
Connecting with gfodor, who set up the ops around hubs@mozilla.com and mails and other things going to the #hubs-support channel.
| Assignee | ||
Updated•6 years ago
|
Comment 43•6 years ago
|
||
thanks for raising this issue.
-
wrt locking down access, I think that seems fine to me. we can restrict that slack channel (#hubs-support) to the necessary parties.
-
the ability to log in as that user on hubs.mozilla.com does not compromise admin access since we have a secondary layer of protection that requires a SSH key and 2fa tunnel to access the administrative resources. however, we should turn off the administrator bit on that account, it seems unnecessary and does get an attacker past the first layer.
it looks like I don't have the ability to convert the #hubs-support channel to a private channel. as per a quick google it seems that this should be possible to do via the additional channel options, but i don't see it. is that a privileged action? here are the slack handles that should have access:
gfodor
klee
jconrad
jshaughnessy
rlong
mqp
bpeiris
dom
oerickson
emclaren
larsberg
avrignaud
thank you!
Comment 44•6 years ago
|
||
actually, the hubs@mozilla.com account on hubs.mozilla.com does not have administrative access at all. i misunderstood the previous comment to imply that we were showing the link to /admin on the homepage (which would imply the account has access, since we display the link for those that do) but it sounds like /admin was just navigated to manually. hitting /admin itself to show the UI is not a privileged action, it's the access to the REST APIs which is secured both via an administrative bit on the account as well as the need to open an SSH tunnel to a AWS server.
so the only remediation here i believe is to lock down channel access.
Comment 45•6 years ago
|
||
Hi Greg, thanks for looking into this and confirming hubs@mozilla.com does not have admin access on https://hubs.mozilla.com.
Re: Slack access, I think turning hubs-support channel into a private one could fix this issue. In case this can't be done for whatever reason, you could also consider making the Slack integration for the Email app (https://mozilla.slack.com/apps/A0F81496D-email) a private one, which basically conceals the details of the integration (however does not restrict access to the channel itself).
I will see if I can have a Slack admin perform either.
| Assignee | ||
Comment 47•5 years ago
|
||
(In reply to Griffin Francis from comment #46)
Flags: sec-bounty-hof+ ?
Just a heads up, when we 'sec-bounty+' a bug, the hof credit is implied. The 'sec-bounty-hof+' flag is used when we 'sec-bounty-', but still want to offer an hof mention.
| Reporter | ||
Comment 48•5 years ago
|
||
Ok thanks mate. Hopefully we can publicly disclose this issue soon? I eventually want to do a writeup on it.
| Assignee | ||
Comment 49•5 years ago
|
||
(In reply to Caglar Ulucenk [:Cag] from comment #45)
Hi Greg, thanks for looking into this and confirming hubs@mozilla.com does not have admin access on https://hubs.mozilla.com.
Re: Slack access, I think turning hubs-support channel into a private one could fix this issue. In case this can't be done for whatever reason, you could also consider making the Slack integration for the Email app (https://mozilla.slack.com/apps/A0F81496D-email) a private one, which basically conceals the details of the integration (however does not restrict access to the channel itself).
I will see if I can have a Slack admin perform either.
Cag: where do we stand on the status of this? Assuming it's resolved, we can like make this public so Griffin can do a write up on it.
Comment 50•5 years ago
|
||
I need to confirm with a Slack admin whether or not the particular instance (hubs) has been addressed. Once I do, I will update the status here.
Comment 51•5 years ago
|
||
I can confirm that the channel #hubs-support has been made private.
| Assignee | ||
Updated•5 years ago
|
Updated•3 years ago
|
Updated•1 year ago
|
Description
•