News for hackers. Stuff that matters.
Re:Trivial authentication bypass in libssh leaves servers wi... by zaroth on Wednesday October 17, 2018 @07:51PM (#18244836)
This is the state of libssh. As if it wasn’t already, “many eyeballs theory” is turning over in it’s grave.

Contrast this level of insanity to a proposed standard of “developers should be liable for the damage caused by their negligent code”.

Just, wow.

Re:Trivial authentication bypass in libssh leaves servers wi... by heavenlyblue on Thursday October 18, 2018 @06:49AM (#18247277)
>> developers should be liable for the damage caused by their negligent code

To be fair, at this point I would rather see developers not writing code; rather than writing buggy one.

I had a friend on FB who's just completed a security course and wrote a password generator in Go. The random was seeded from a current date in nanoseconds. The issue is that while no one will probably ever reverse his passwords, but the guy open-sourced his script. How many people will be influenced by that piece of code?

Lawyers have that: if you can't be liable - you're not a lawyer. GTFO.

Re:Trivial authentication bypass in libssh leaves servers wi... by lrvick on Thursday October 18, 2018 @12:45PM (#18249861)
I found that same exact issue in Terraform Go code where it generates passwords for AWS IAM users: https://www.cvedetails.com/cve/CVE-2018-9057/

We need to find out who is teaching this stupidity and make them stop.

Re:Trivial authentication bypass in libssh leaves servers wi... by Sir_Cmpwn on Wednesday October 17, 2018 @07:55PM (#18244856)
libssh is pretty niche. This isn't openssh.
Re:Trivial authentication bypass in libssh leaves servers wi... by akvadrako on Wednesday October 17, 2018 @10:11PM (#18245390)
libssh is used because openssh isn't suited to be used as a library. So it's one of the most popular ways to automate the most popular remote shell protocol.

It's not really niche - I'd say it's an average popularity library and likely used by a bunch of internal projects.

Re:Trivial authentication bypass in libssh leaves servers wi... by duskwuff on Wednesday October 17, 2018 @10:54PM (#18245561)
The libssh client code is used pretty commonly for that sort of thing.

The libssh server code, on the other hand, is pretty niche.

Re:Trivial authentication bypass in libssh leaves servers wi... by kevingadd on Wednesday October 17, 2018 @08:42PM (#18245062)
So "niche" it was used by github, albeit in a configuration that protected them from this
Re:Trivial authentication bypass in libssh leaves servers wi... by throwaway2048 on Wednesday October 17, 2018 @09:14PM (#18245179)
Except for github, its unlikely you use any software that uses libssh.

Just because it has that name dosen't make it some kind of official SSH library that tons of software uses.

Re:Trivial authentication bypass in libssh leaves servers wi... by lostmsu on Thursday October 18, 2018 @12:59AM (#18246037)
What does git use?
Re:Trivial authentication bypass in libssh leaves servers wi... by dijit on Thursday October 18, 2018 @01:05AM (#18246060)
OpenSSH.
Re:Trivial authentication bypass in libssh leaves servers wi... by raimue on Thursday October 18, 2018 @02:10AM (#18246280)
Actually, just whatever 'ssh' binary is installed. That is not necessarily OpenSSH, but it is the most common choice.