11 ms·
This is a pretty egregiously editorialized title; what we know is that there's apparently an SSH keypair authorized on these devices, for which the private key
by tptacek 8y ago
This is a pretty egregiously editorialized title; what we know is that there's apparently an SSH keypair authorized on these devices, for which the private key is available on the device. That's a terrible, ugly vulnerability, but it's as likely due to stupidity as to malice.
The right title is something like: CVS-2019-1804: Cisco Nexus 9000 Switches Allow SSH As Root.
- bobbob1921 8y agoI agree , this is not a backdoor in the more commonly understood sense of the term , post-Snowden. At the same time, your suggested "right title" doesn't seem too accurate either (imo). When I see the term backdoor, I think of something done intentionally. Maybe something like: Embeded unsecured credentials , allow attacker remote root ssh access ( it's actually much harder than I initially thought , to phrase)
- dang 8y agoOk, we changed to that. Thanks! Submitted title was "Backdoor Found in Cisco Routers CVE-2019-1804".
- jauer 8y agoIt's still a bit editorialized since this only affects ACI mode, not the default (and far more common) NX-OS mode.
- RL_Quine 8y agoYou’re joking right? It’s “allow ssh as root with a publicly available ssh key”. Your version is making it sound mundane.
- tptacek 8y agoIf mundanity is your concern, add an exclamation point to it.
- RL_Quine 8y agoAccuracy helps.
- fungi 8y agoIf it was a genuine "backdoor" why would you want use a publicly available key?
- anxman 8y agoThis isn't a backdoor but it is a major vulnerability.
- MaulingMonkey 8y agoBeing the only keyholder reduces plausable deniability, so maybe.
- RL_Quine 8y agoThe private key is on the shipped devices, from my reading.
- MaulingMonkey 8y agoAgreed. I'm hypothesizing that you might do this, even with keys intended to be used as a back door, by shipping it on devices, you vastly increase the number of potential suspects for any backdoor abuse. Continuing this train of thought - a hardcoded password is classic example of a backdoor, and just as "public" as including a private key.
- tedunangst 8y agoSad state of affairs when terrible, ugly vulnerabilities are mundane.
- PappaPatat 8y agoCVS-2019-1804: Cisco Nexus 9000 Switches Allow SSH As Root via IPv6 only. Which makes it even more likely to be explained by stupidity as to malice.
- sky_nox 8y agoIt allows anyone who knows the default SSH key pair to login as root. How is that not a backdoor? Backdoor definition: "A backdoor is a method, often secret, of bypassing normal authentication in a computer system."
- TallGuyShort 8y agoPeople sometimes read "backdoor" as something intentionally left by an insider for later use by themselves or others.
- mtgx 8y agoAnd what do you think this was? Virtually all router/networking devices have some kind of "hardcoded account" (read:backdoor) and this is only slowly changing. I believe the EU is going to ban the practice soon.
- microwavecamera 8y agoWell Cisco wrote the code so it has to be in some way intentional but it doesn't necessarily mean it was done maliciously though. It could a private developer key used for testing accidentally got pushed out in production code or some poorly thought out management "feature". Regardless it is an epically dumb mistake for a company like Cisco to make on an enterprise product.
- dngray 8y ago> Well Cisco wrote the code so it has to be in some way intentional but it doesn't necessarily mean it was done maliciously though. It could a private developer key used for testing accidentally got pushed out in production code or some poorly thought out management "feature". Regardless it is an epically dumb mistake for a company like Cisco to make on an enterprise product. That someone might not be the company, it might be a developer. It's entirely true that the company says it's not a backdoor, the developer says it's a mistake, but he/she was approached from an external organization. Unless you can provide either way it's impossible to classify it as a backdoor or not.
- tinus_hn 8y agoIt is impossible to know the motivation of the person who put this here but these constructs have no place in firmware for critical devices and Cisco should have known that for a long time already. Either they truly are idiots or this is malicious.
- gwright 8y agoMore likely they are just imperfect humans.
- blotter_paper 8y agoThat's a bit vague; imperfect humans are both malicious and incompetent, often at the same time.
- gwright 8y agoAnd often neither.
- blotter_paper 8y agoThen from whence came their imperfection?
- gwright 8y agoJust stop. Is it really hard to understand that normal people can make mistakes without being malicious or incompetent? Imperfect and incompetent are not synonyms. And my response to the OP was to push back on the idea that only "idiots" could make mistakes. To me that is an absurdly reductionist view of human nature.
- blotter_paper 8y agoYou tell me stop and then proceed to ask a question? How incredibly rude. I suggest you rethink your philosophy of discourse, and words (hint: most qualities such as incompetence and maliciousness exist on a continuum).
- ru999gol 8y agothis headline is outrages! only china would ever place backdoors into critical infrastructure equipment, the US free market would never do such a thing!
- floatingatoll 8y agoThe mods asked me to email comments like this to the hn@yc.c address in the footer (Contact link), and have been responsive (not necessarily agreed, but they do reply!) when I've done so. I emailed them a link to your comment as the edit request with an attempt of my own: > CVS-2019-1804: Cisco Nexus 9000 remote root exploit via SSH-over-IPv6 (Yes, it's a backdoor, I ran out of time sorry)
- floatingatoll 8y agoClarification - Anyone can email, not just me
- matthewaveryusa 8y agoAnd plausible deniability is the #1 rule when being malicious. If you know enough to use an asymmetric key instead of a password, but not enough to think it's a good idea to leave the private key there, you're in a weird cross-section of expertise.
- snazz 8y agoA broken script that turns a development build into a production/customer build could also be at fault, forgetting to delete the default key pair.
- matthewaveryusa 8y agoEqually as plausible which is exactly where you want to be if you're malicious. I'll spin this around though: What would a high-quality plausibly deniable backdoor look like to you?
- anbop 8y agoWhat is a backdoor if not this?
- SquareWheel 8y agoA backdoor to me suggests an intentional loophole through a level of security. A bug that does the same is severe, but isn't intentional. At least that's my reading.
- floatingatoll 8y agoYes, that is the most commonly used to describe an “undocumented” access credential, regardless of why. This has been used for credentials that were added and forgotten, credentials that were added to permit unauthorized access later, and credentials that were added to permit authorized repairs more readily. These credentials were included in an “undocumented” (or “unpublished” might be more precise) manner and can be used to bypass security, so “backdoor” is correct. This of course says nothing about whether its inclusion was due to intent, incompetence, and/or malice. (If the private key includes “Comment: hack the planet” then yeah it’s malice :)
- p1necone 8y agoBut any competently inserted intentional backdoor is going to be indistinguishable from a mistake. If Cisco had some SecretFBIChinaBackdoor() function somewhere the backlash would be way way worse (or at least an unknown). Whereas at this point it's abundantly clear that serious "non intentional" security vulnerabilities in networking hardware basically go ignored by the market.
- SquareWheel 8y ago>But any competently inserted intentional backdoor is going to be indistinguishable from a mistake. Maybe, but without proof it's still just speculation. Real bugs do occur often, and sometimes in sensitive areas. I understand wanting to be vigilant. In both assuming malice and assuming human error though, you're still forced to make an assumption.
- fulafel 8y ago> Allow SSH As Root That sounds like they just erroneously left AllowRootLogins yes in the ssd_config, which would not be a critical vulnerability.
- good_guy 8y agoHow would you know ? shat the fuck up shill.