News for hackers. Stuff that matters.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by tptacek on Tuesday May 14, 2019 @07:15PM (#19914770)
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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by sky_nox on Tuesday May 14, 2019 @07:34PM (#19914898)
It 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."

Re:Cisco Nexus 9000 Switches Allow SSH As Root by TallGuyShort on Tuesday May 14, 2019 @07:38PM (#19914920)
People sometimes read "backdoor" as something intentionally left by an insider for later use by themselves or others.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by microwavecamera on Tuesday May 14, 2019 @08:48PM (#19915360)
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.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by dngray on Thursday May 16, 2019 @11:39PM (#19936043)
> 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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by dngray on Thursday May 16, 2019 @11:38PM (#19936034)
> People sometimes read "backdoor" as something intentionally left by an insider for later use by themselves or others.

And considering you can never know if someone else knows about it, that means you can never know if it was a backdoor.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by mtgx on Wednesday May 15, 2019 @01:33AM (#19916685)
And 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.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by RL_Quine on Tuesday May 14, 2019 @07:23PM (#19914832)
You’re joking right?

It’s “allow ssh as root with a publicly available ssh key”. Your version is making it sound mundane.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by tedunangst on Tuesday May 14, 2019 @07:57PM (#19915051)
Sad state of affairs when terrible, ugly vulnerabilities are mundane.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by fungi on Tuesday May 14, 2019 @07:30PM (#19914877)
If it was a genuine "backdoor" why would you want use a publicly available key?
Re:Cisco Nexus 9000 Switches Allow SSH As Root by MaulingMonkey on Tuesday May 14, 2019 @08:10PM (#19915136)
Being the only keyholder reduces plausable deniability, so maybe.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by RL_Quine on Tuesday May 14, 2019 @08:40PM (#19915317)
The private key is on the shipped devices, from my reading.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by MaulingMonkey on Tuesday May 14, 2019 @09:11PM (#19915481)
Agreed.

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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by anxman on Tuesday May 14, 2019 @07:41PM (#19914949)
This isn't a backdoor but it is a major vulnerability.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by tptacek on Tuesday May 14, 2019 @07:30PM (#19914875)
If mundanity is your concern, add an exclamation point to it.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by RL_Quine on Tuesday May 14, 2019 @07:52PM (#19915014)
Accuracy helps.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by tinus_hn on Tuesday May 14, 2019 @08:06PM (#19915106)
It 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.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Tuesday May 14, 2019 @10:27PM (#19915899)
More likely they are just imperfect humans.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by blotter_paper on Wednesday May 15, 2019 @01:50AM (#19916755)
That's a bit vague; imperfect humans are both malicious and incompetent, often at the same time.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Wednesday May 15, 2019 @08:27AM (#19918693)
And often neither.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by blotter_paper on Wednesday May 15, 2019 @09:55AM (#19919379)
Then from whence came their imperfection?
Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Wednesday May 15, 2019 @01:06PM (#19921488)
Just 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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by blotter_paper on Wednesday May 15, 2019 @03:13PM (#19922692)
You 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).
Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Wednesday May 15, 2019 @03:35PM (#19922926)
Huh? You were labeling people as incompetent and supporting the OP's idea they were idiots. I was asking for empathy and understanding that people can make mistakes. And when I tell you to stop, I'm the rude one?
Re:Cisco Nexus 9000 Switches Allow SSH As Root by blotter_paper on Wednesday May 15, 2019 @04:17PM (#19923301)
Yeah, telling somebody to cease communication and then asking them a question is absolutely rude. I think we're all incompetent to varying degrees in different domains, I don't think it's rude to express that. From my perspective I don't feel I was rude at all in this exchange until my last message with the snarky "hint" part, but I was okay with that since you had essentially just told me to shut up.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Wednesday May 15, 2019 @04:39PM (#19923529)
You are misinterpreting my very terse "Just stop". If I were to expand it: "Just stop trying to convince me that people who make 'mistakes' can only be incompetent, malicious, or idiots"

That is not the same thing as "Just stop communicating" or "shut up". I shouldn't have been so terse. Without the verbal cues you made a different assumption about what I was trying to say.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by blotter_paper on Wednesday May 15, 2019 @04:48PM (#19923622)
In this context I don't really see a difference between "stop making your point about the subject we've been communicating about" and "stop communicating in general." Am I supposed to talk about the weather, or engage in a lengthy meta-discussion about talking about the subject we've been talking about?

I never used the term idiots, that's you putting someone else's words in my mouth.

It's hard for me to imagine how a person can make a mistake in a given domain without being at least bit incompetent in it, hence my point about competence/incompetence existing on a continuum.

Edit: ...and if the person were malicious, it wouldn't be a mistake to begin with.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by kup0 on Thursday May 16, 2019 @09:26AM (#19928782)
So people extremely knowledgeable in a domain don't make mistakes in that domain? Or are they just "one notch too low" on the continuum- enough so that they make a mistake? I just don't think that holds.

Mistakes aren't always made due to incompetency and extremely competent people still can make mistakes.

I think most of the "seven factors that lead to stupidity" could still affect someone very competent: https://fs.blog/2019/01/how-not-to-be-stupid/

Re:Cisco Nexus 9000 Switches Allow SSH As Root by gwright on Wednesday May 15, 2019 @07:02PM (#19924635)
Well, I do apologize for my sloppy writing that made you think I was telling you to shut up. That wasn't my intent. I was just trying to say that your argument wasn't persuasive to me.

We'll just have to agree to disagree regarding human nature.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by dang on Tuesday May 14, 2019 @09:51PM (#19915696)
Ok, we changed to that. Thanks!

Submitted title was "Backdoor Found in Cisco Routers CVE-2019-1804".

Re:Cisco Nexus 9000 Switches Allow SSH As Root by bobbob1921 on Tuesday May 14, 2019 @09:39PM (#19915625)
I 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)

Re:Cisco Nexus 9000 Switches Allow SSH As Root by floatingatoll on Tuesday May 14, 2019 @08:12PM (#19915145)
The mods asked me to email comments like this to the [email protected] 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)

Re:Cisco Nexus 9000 Switches Allow SSH As Root by floatingatoll on Wednesday May 15, 2019 @11:18AM (#19920254)
Clarification - Anyone can email, not just me
Re:Cisco Nexus 9000 Switches Allow SSH As Root by PappaPatat on Tuesday May 14, 2019 @07:25PM (#19914847)
CVS-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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by jauer on Tuesday May 14, 2019 @10:06PM (#19915789)
It's still a bit editorialized since this only affects ACI mode, not the default (and far more common) NX-OS mode.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by matthewaveryusa on Tuesday May 14, 2019 @08:18PM (#19915182)
And 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.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by snazz on Tuesday May 14, 2019 @08:47PM (#19915350)
A broken script that turns a development build into a production/customer build could also be at fault, forgetting to delete the default key pair.
Re:Cisco Nexus 9000 Switches Allow SSH As Root by matthewaveryusa on Wednesday May 15, 2019 @08:09AM (#19918579)
Equally 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?

Re:Cisco Nexus 9000 Switches Allow SSH As Root by fulafel on Wednesday May 15, 2019 @01:36AM (#19916699)
> Allow SSH As Root

That sounds like they just erroneously left AllowRootLogins yes in the ssd_config, which would not be a critical vulnerability.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by anbop on Tuesday May 14, 2019 @08:29PM (#19915250)
What is a backdoor if not this?
Re:Cisco Nexus 9000 Switches Allow SSH As Root by SquareWheel on Tuesday May 14, 2019 @08:41PM (#19915329)
A 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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by p1necone on Tuesday May 14, 2019 @10:36PM (#19915943)
But 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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by SquareWheel on Tuesday May 14, 2019 @11:18PM (#19916122)
>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.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by p1necone on Wednesday May 15, 2019 @12:39AM (#19916460)
You're not forced to make an assumption, you can just be honest and say you don't know. There's too many comments in this thread effectively saying "it looks unintentional, so it's unintentional".
Re:Cisco Nexus 9000 Switches Allow SSH As Root by SquareWheel on Wednesday May 15, 2019 @02:43AM (#19916954)
>You're not forced to make an assumption, you can just be honest and say you don't know.

Indeed. That's what I was trying to say.

Re:Cisco Nexus 9000 Switches Allow SSH As Root by floatingatoll on Tuesday May 14, 2019 @09:46PM (#19915667)
Yes, 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 :)

Re:Cisco Nexus 9000 Switches Allow SSH As Root by rjsw on Wednesday May 15, 2019 @05:08AM (#19917602)
Seems like a not very secure front door to me.