That's completely crazy, the backdoor is introduced through a very cryptic addition to the configure script. Just looking at the diff, it doesn't look malicious at all, it looks like build script gibberish.
Yeah, now imagine they succeeded and it didn't cause any performance issues... Can we even be sure no such successful attempt has already been made?
Backdoor in upstream xz/liblzma leading to SSH server compromise
121–130 of 1001 posts
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#122It is too easy to hide things in testdata.
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#123A couple of years ago I wrote a Go library that wraps the xz C code and allows you to do xz compression in Go: https://github.com/jamespfennell/xz About a week ago I received the first PR on that repo, to upgrade to 5.6.1. I thought it was odd to get such a random PR...it's not the same GitHub account as upstream though.
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#124Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#125A couple of years ago I wrote a Go library that wraps the xz C code and allows you to do xz compression in Go: https://github.com/jamespfennell/xz About a week ago I received the first PR on that repo, to upgrade to 5.6.1. I thought it was odd to get such a random PR...it's not the same GitHub account as upstream though.
I don't want to read too much into it, but the person (supposedly) submitting the PR seems to work at 1Password since December last year, as per his Linkedin. (And his Linkedin page has a link to the Github profile that made the PR).
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#126A couple of years ago I wrote a Go library that wraps the xz C code and allows you to do xz compression in Go: https://github.com/jamespfennell/xz About a week ago I received the first PR on that repo, to upgrade to 5.6.1. I thought it was odd to get such a random PR...it's not the same GitHub account as upstream though.
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#127Earlier quoted context omitted.
I've analysed the backdoor myself and it's very sophisticated, not poorly made at all. The performance problem is surprising in this context, but I think next time they won't make that mistake.
Do you have a writeup or any details as to what it does? The logical thing based on this post is that it hooks the SSH key verification mechanism to silently allow some attacker-controlled keys but I wonder if there's more to it?
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#128Is the solution against such attacks in the future only to scrutinize more, or are there other reasonable options in terms of hardening?
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#129I've long since said that if you want to hide something nefarious you'd do that in the GNU autoconf soup (and not in "curl | sh" scripts). Would be interesting to see what's going on here; the person who did the releases has done previous releases too (are they affected?) And has commits going back to 2022 – relatively recent, but not that recent. Many are real commits with real changes, and they have commits on some…
Re: Backdoor in upstream xz/liblzma leading to SSH server compromise
#130The discussion to upload it to Debian is interesting on its own https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067708