Basically this is a "yes, but first let's build glorious INFRASTRUCTURE", as most things tend to be on this project.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
May 4 2016
And I think the mail notifications are also largely reasonable, I just don't want to hack this one mail notification in and call it a day since this I think this should be approached more broadly (covering all high-security actions, not just SSH) and deeply (SMS, mail, transactions).
My only idea would be converting actions surrounding SSH key management to transactions, which you're not explicitly stating here, but if we were to do that we would be able to use internal infa we have that reacts to transactions, and send email when a key is added.
We haven't yet enabled, but will be enabling MFA this week.
The best way to describe this request from our perspective is "third party requirement", which falls under your definition of a policy compliance change, mostly.
Broadly, there are a class of "security" changes which are really policy compliance changes. For example, it's common for large enterprises to have a password requirement like this:
I've generally been hesitant about making Phabricator send these emails because I'm not sure how valuable they are in practice, and a lot of users hate email (see T9161). If an attacker gains access to an instance even briefly, I think it's likely much of the damage is done before most users will be able to respond (in particular, a targeted attack can virtually guarantee you receive the email at a time when you are likely to be asleep). By its nature, this mitigation is a reactive one with a potentially long reaction time.
Apr 23 2016
Any test we execute must be distributed with phabricator/ and run on the first page load after an upgrade. That generally means it needs to be small, very fast, and completely conclusive. Compare to the test for Shellshock here, which runs in a few milliseconds, requires 10 lines of code, and is totally conclusive:
In T10832#171473, @epriestley wrote:Broadly, I lean toward this policy going forward:
- When we can perform an accurate test for the vulnerability in a reasonable amount of time/effort and tell you that you are definitely vulnerable (as with Shellshock), we will continue to do so with an active setup warning.
- When we can not perform such a test (as here), we will publish guidance and note the issue in the changelog, but will not attempt to guess if the installed version may be vulnerable because this test will frequently be confusing/misleading/wrong.
- We can re-evaluate this after T5055, which may give us a wider range of tools for providing more accurate vulnerability notifications.
Apr 19 2016
Broadly, I lean toward this policy going forward:
At least for now, maybe I'll remove the setup issue to avoid confusion and just note this in the changelog instead. This is much more likely to be overlooked, but vendors other than Apple seem to have generally taken care of this and using git --version to test for the presence of the vulnerability isn't really meaningful.
safe to ignore if you've updated to the latest version even though it's a lower version number
In other cases (like with Shellshock) we can just test for the vulnerability to see if a binary is vulnerable. Ideally, we'd just perform this test to figure out if you need to upgrade, but I don't think a reasonable test case exists here because we need to create a 2GB pathname and probably can not do that in a reasonable amount of time.
I got hit by that warning today, and while it doesn't bother me because I knew about the vulnerabilities and versions, it could be confusing for others. I've got 2.1.4-2.1+deb8u2 on Debian, which is old but the fixes are backported. Many other distros have older versions with backported fixes as well (as per https://news.ycombinator.com/item?id=11517894). Unfortunately you cannot see that in git --version though.
Apr 18 2016
I think the sequence of action is:
I'm less sure about adding a warning to arc.
I've updated all Phacility cluster hosts which run any git operations (secure*, sbuild*, saux*, repo*) to 2.8.1.
Apr 3 2016
I think there's nothing actionable remaining here. Both our and Facebook's modern instructions encourage users to whitelist redirect URIs.
Mar 27 2016
I ultimately don't think there's any really reasonable way we can fix this that doesn't have a cost and complexity far greater than the benefit.
Mar 25 2016
Feb 25 2016
Feb 24 2016
Quoting for the main page :
Feb 22 2016
I also think the current per-service and per-device granular locking might be better off as a cluster.locked global configuration which prevents creating or editing anything touching a cluster service, so I may pursue that.
Feb 21 2016
In the Phacility case, I can also just give these networks a "no one" edit policy, but still need to do the namespace locking.
Jan 18 2016
The mitigation was applied to remaining nodes on Jan 16, and everything was also upgraded to OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.4, OpenSSL 1.0.1f 6 Jan 2014, which is the Ubuntu upstream fix for the issue.
Jan 14 2016
A sufficient diagnostic test is apparently to complete any connection with ssh -v and observe no "Roaming not allowed by server" message in the output. Cluster hosts with the configuration fix pass this test.
I've applied the configuration fix to all Phacility cluster hosts that initiate SSH connections to untrusted servers, so we should be in the clear.
Jan 4 2016
Jan 1 2016
Dec 12 2015
I think this should now be fixed in HEAD. Let us know if we missed anything, and thanks for the report.
Without steps to reproduce the issue, what specifically do you suggest we do with this ticket?
In T9966#148595, @epriestley wrote:So you haven't actually reproduced this yourself? Is it possible that the user mistook xxxxx as uncensored credentials? Can you try reproducing it directly?
I can't reproduce this locally even with a username email.
So you haven't actually reproduced this yourself? Is it possible that the user mistook xxxxx as uncensored credentials? Can you try reproducing it directly?
I should note that we're running the latest version of Git (2.6.3) which could be the culprit. From my superficial inspection of the code, it appears that the output of git fetch is simply reflected.
In T9966#148590, @epriestley wrote:In your report, you say <user email address> -- is the login username for this user a string including "@"? Does the UI print out a message like this?
https://xxxxx@domain.com:password@remote.example.com/.....that is, the beginning of the email address is censored, but the rest of it is not and the password and domain are not? Or is the HTTP username not really an email address?
I should note that we're running the latest version of Git (2.6.3) which could be the culprit. From my superficial inspection of the code, it appears that the output of git fetch is simply reflected.
In your report, you say <user email address> -- is the login username for this user a string including "@"? Does the UI print out a message like this?
Dec 11 2015
phabricator 7ce84cc27b81a390d4a0d0c224dbc18597d6c1cc (Fri, Dec 4) arcanist 05ac4a67e22e06e836e2a0abfba1aa9826490e44 (Fri, Dec 4) phutil a6802e4d6b5f6ac4ada2256de27effa2b7189d0a (Fri, Dec 4)
What version of Phabricator are you running? (You can find this in Config → Versions for recent versions.)
Nov 16 2015
If you have long-term local access to a user's machine and can install a keylogger, you can just steal the session cookie. Being able to establish a second session instead of stealing the first session cookie is not a meaningful escalation.
Nov 9 2015
(This is just a note for me to make sure I don't forget about it, I'll follow up here before we unprototype.)
Oct 18 2015
There are a couple of minor followups between this original announcement and HEAD which improve some behaviors, but this has been in stable for about a month now.
Oct 9 2015
Yeah -- at least in HTML mail, the cows aren't getting properly linebreak'd either. I don't think that's new but it should be pretty easy to fix.
@epriestley - I'm not familiar with how email should work (or how it used to) but I think figlet text (and probably cowsays) are not html-ized for html emails -- they might look better in fixed-width fontstyle but it looks like regular-type. Adding figlet text for test:
Oct 6 2015
Would love to see this as an option. Biggest issue for me is AD servers using non-wildcard certs, and our need to connect to a subdomain with round robin dns to any of our AD servers. Having creds sent in plain text is not very good. Its not great that we have Cert errors but we're limited in our ability to fix that.
Sep 19 2015
Ah, I think you're right. I thought that cow just had a nice thick neck (a sign of good breeding), but her tail is a little bristly.
Does the new PHP cowsay implementation need to convert the escaped backslashes to single backslashes?
Sep 13 2015
Aug 13 2015
Aug 11 2015
Jul 28 2015
Jul 23 2015
Jul 22 2015
there could be info in saved searches
Is this really a case of information being useful to an attacker?
Custom logos are experimental and not for general use (we note that it's incomplete on the field when you set it). See T4214.
Thankfully clicking the notifications opens a dropdown with "undefined" in it. Maybe tagging with Security was overzealous but every MFA screen I've ever encountered showed no data from the underlying system. At worst it just looks sloppy since half of the features don't return useful data, the custom logo disappears (it's not accessible, therefore doesn't return), etc. Also, like @Lavoaster points out, there could be info in saved searches. This isn't huge, just something that should be fixed eventually.
Is this really a case of information being useful to an attacker? Task titles, shown in notifications, can reveal the private tasks that lye within.
Jul 21 2015
Can you construct a plausible scenario where this information is substantially useful to an attacker?
Jul 4 2015
It is good ~
Jun 17 2015
Jun 14 2015
Ah thanks
I wouldn't expect this to have changed that -- see T4345.
Is it expected that I still receive "Unknown Object" emails? I thought that this task would've solved this issue. Specifically, I received the following email from this install:
Jun 4 2015
These changes were fairly sweeping, so please let me know if you see anything suspicious with mail/feed/notifications.
This seems to be working correctly in HEAD. In particular: