4 ms·
Conveniently missing from the announcement: - When exactly was the key leaked? Yesterday? A month ago? - How long was it visible for? And no, "briefly" doesn'
by paxys 4y ago
Conveniently missing from the announcement:
- When exactly was the key leaked? Yesterday? A month ago?
- How long was it visible for? And no, "briefly" doesn't cut it.
- Did any internet traffic reach the page while it was exposed? We know you log everything, so it is a yes or no answer.
If any of these answers were pretty, I imagine they would have explicitly included them in the post.
- CGamesPlay 4y agoIn fairness, it's better that they rotate the key immediately before even looking at the logs. But we can demand better answers from them from this point.
- paxys 4y agoDid they rotate it immediately? The only reference to a specific time is: > This week, we discovered... So they found out about it sometime between Monday and Thursday, and rotated it Thursday evening.
- remus 4y agoThis seems a reasonable timeframe to me given the scale of the impact. Security issues are obviously very important, but equally I would be worried if they started acting impulsively immediately after discovering the issue, because there would not have been time to understand the problem and consider the options. If you jump on a solution without giving it a bit of thought first it's too easy to exacerbate the situation.
- Msurrow 4y agoIts not the time from discovery to rotating the key thats OPs issue. What was the time from key being public until discovery? Thats the issue. And also, while the key was public, did anyone access it?
- remus 4y agoAgreed. I don't think that was the point the comment I replied to was making though? Maybe I misread it.
- UseStrict 4y agoMaybe I'm missing something, but since all GitHub events can be watched through the API, I don't think it particularly matters how long it was public. Anecdotal but I once accidentally pushed an AWS key (thankfully heavily locked down and not a root account) for all of 30 seconds and it was compromised anyways.
- Msurrow 4y agoI agree. Even if its only public for one sec it should be considered compromised. However, everything is a risk management question, so knowing the amount of time it was exposed is helpful for other orgs to determine their response to this incident. Same if there was an accesslog.
- renonce 4y ago> How long was it visible for? And no, "briefly" doesn't cut it. I don't know how long exactly, but in theory you can subscribe to a stream of ALL events happening at GitHub by fetching from this endpoint: https://api.github.com/events https://api.github.com/events With these events you know what new repositories are created and what changes are pushed, so you can fetch every new change. Once something gets pushed to a public repository, it's very likely that some spider will have fetched it within a few minutes.
- Maxious 4y agoEspecially something easily identifiable as a SSH private key, you get emails from a variety of security vendors to the address associated with the commit offering their services
- KirillPanov 4y ago> you can subscribe to a stream of ALL events happening at GitHub by fetching from this endpoint: https://api.github.com/events https://api.github.com/events Wow I am shocked that they allow "firehose" access not only for free, but without even an API key. Given enough disk and bandwidth, does this mean you could keep your own copy of all of github? I'd love to be able to grep the whole thing.
- jonas-w 4y agohttps://www.gharchive.org/ https://www.gharchive.org/
- hoffs 4y ago> - When exactly was the key leaked? Yesterday? A month ago? "This week, we discovered that GitHub.com’s RSA SSH private key was briefly exposed in a public GitHub repository"
- tyingq 4y agoThat's when they discovered it had been leaked, not necessarily when the leak happened.
- rschoultz 4y agoIndeed, and about their statement > We have no reason to believe that the exposed key was abused and took this action out of an abundance of caution. This is not verifiable, right? As the authentication method has no public and required revocation source, and given that the key, if having leaked, likely will be acquired by an authoritarian government, they can selectively MITM organizations and users that are not aware of this blog post.
- 3np 4y agoThe discrepancy between "briefly" and "this week" stood out to me. It reads like multiple hours or even days would classify as "briefly" here where in this context it would otherwise usually mean in the seconds or maaaaybe single-digit minutes, but even that would be stretching it.
- rumsbums 4y agoAlso sorely missing: an apology. Instead we're given crap like "out of an abundance of caution, we replaced our RSA SSH host key".