• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access

Off-Topic & Non-Support Discussion
8
30
2.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    SteveITS Galactic Empire @mcury
    last edited by Mar 30, 2024, 12:00 AM

    @mcury “He has been part of the xz project for 2 years”

    Seems very fortunate it was caught before hitting production Linux releases. Though it sounds like MacOS packages were using it.

    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
    Upvote 👍 helpful posts!

    1 Reply Last reply Reply Quote 1
    • M
      mcury @mcury
      last edited by Mar 30, 2024, 12:00 AM

      a little history:

      got this link from EnOS forum:
      https://boehs.org/node/everything-i-know-about-the-xz-backdoor

      dead on arrival, nowhere to be found.

      H 1 Reply Last reply Mar 30, 2024, 5:10 AM Reply Quote 1
      • H
        heper @mcury
        last edited by Mar 30, 2024, 5:10 AM

        the github repo has been disabled...

        nice

        1 Reply Last reply Reply Quote 1
        • T
          tgl @mcury
          last edited by Mar 30, 2024, 5:31 AM

          @mcury said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

          hm, so Fedora decided to revert to the 5.4.x versions of xz Utils ? That was a different approach than Arch did.

          I'm not following? The discussion you linked showed Arch doing exactly the same thing.

          It's surely not unreasonable to worry about every version signed by the compromised developer (and I'm confident there are people putting 5.4.x under a microscope right now). My bet though is that the pre-5.6 versions don't actually contain anything dangerous. The developer showed his hand by pushing for 5.6 to be spread rapidly, as he'd not done for the earlier releases.

          M 1 Reply Last reply Mar 30, 2024, 3:55 PM Reply Quote 1
          • S
            stephenw10 Netgate Administrator
            last edited by Mar 30, 2024, 3:44 PM

            There's enough pain to go around here! 😬

            1 Reply Last reply Reply Quote 1
            • M
              mcury @tgl
              last edited by mcury Mar 30, 2024, 3:57 PM Mar 30, 2024, 3:55 PM

              @tgl said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

              The developer showed his hand by pushing for 5.6 to be spread rapidly, as he'd not done for the earlier releases.

              This is huge, the FOSS community will take time to recover and I think things are going to change permanently from now on..
              I'm trying to look at it in a different perspective and not witch hunt as mentioned here in this thread

              big blow to the stomach that this was.

              dead on arrival, nowhere to be found.

              S 1 Reply Last reply Mar 31, 2024, 7:55 PM Reply Quote 1
              • S
                slu @mcury
                last edited by Mar 31, 2024, 7:55 PM

                I hope pfSense is not affected, 2.7.2 show:

                xz --version
                xz (XZ Utils) 5.4.4
                liblzma 5.4.4
                

                As far as i can follow the bug report on Debian [1] it's still not clear revert to 5.4.5 is enough since the
                last version of a trusted person was 5.4.1.

                [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024#72

                pfSense Gold subscription

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Mar 31, 2024, 8:39 PM

                  In my own personal opinion it's unlikely because this exploit targeted specific Linux distros. sshd with a patch for systemd integration which obviously doesn't apply to FreeBSD.

                  However that's only the known exploit. Whist nothing in known in other versions we are monitoring the situation closely.

                  M 1 Reply Last reply Mar 31, 2024, 9:23 PM Reply Quote 5
                  • M
                    mcury @stephenw10
                    last edited by mcury Mar 31, 2024, 9:25 PM Mar 31, 2024, 9:23 PM

                    @stephenw10 said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

                    However that's only the known exploit. Whist nothing in known in other versions we are monitoring the situation closely.

                    They are evaluating libarchive now, there are commits from the same developer.
                    What haunts me is that we don't know how deep this going to go..

                    dead on arrival, nowhere to be found.

                    S 1 Reply Last reply Mar 31, 2024, 9:33 PM Reply Quote 1
                    • S
                      slu @mcury
                      last edited by Mar 31, 2024, 9:33 PM

                      @mcury said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

                      What haunts me is that we don't know how deep this going to go..

                      Yes, I'm afraid that's not the end of the story, this has the potential for a really nightmare.
                      But at the moment we can only monitoring the situation as @stephenw10 said.

                      pfSense Gold subscription

                      1 Reply Last reply Reply Quote 0
                      • J
                        JonathanLee
                        last edited by Mar 31, 2024, 10:33 PM

                        A couple months ago I was testing openVPN and I could see my IP traverse the firewall however after I disconnected something else was connected a IP address from digital oceans IP block, I have logging enabled on the firewall and you could see the enumeration occurring so I killed the state and only allow VPN connections from specific IP addresses. Think about eternal blue, they patch it but the bug reappears over and over. Cyber security teams need to stay one step ahead of abuses.

                        Make sure to upvote

                        1 Reply Last reply Reply Quote 1
                        • J
                          JonathanLee @mcury
                          last edited by JonathanLee Mar 31, 2024, 10:38 PM Mar 31, 2024, 10:37 PM

                          @mcury thanks for sharing, does this effect 230501? Or 230901??

                          Make sure to upvote

                          M 1 Reply Last reply Mar 31, 2024, 11:09 PM Reply Quote 1
                          • M
                            mcury @JonathanLee
                            last edited by Mar 31, 2024, 11:09 PM

                            @JonathanLee said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

                            @mcury thanks for sharing, does this effect 230501? Or 230901??

                            No.
                            This problem is still being under investigation, so everything I'll say and have said before, take with a grain of salt.

                            According to what has been said in github, reddit, phonorix, IRC channels and along, the targets were RHEL and debian/derivatives distros only.
                            Arch (which my system is based on and I use everyday) was kind of lucky because Arch don't use tarlball and openssh does not directly use liblzma.

                            Also, you would need to have ssh service enabled and open to the internet.
                            The backdoor would somehow be able to bypass ssh keys and allow remote control, which by itself is a 10 vulnerability score CVE.

                            But, as I see it, Arch has a lot of homework to do.. this developer was the maintainer of absolute most of Arch packages..
                            Mostly inside any chinese project from Deepin to stuff like that.

                            dead on arrival, nowhere to be found.

                            J 1 Reply Last reply Apr 1, 2024, 1:52 AM Reply Quote 1
                            • J
                              JonathanLee @mcury
                              last edited by Apr 1, 2024, 1:52 AM

                              @mcury thanks for the reply I wonder about raspberry pi also, that does use its own flavor however you can add on packages to it

                              Make sure to upvote

                              T 1 Reply Last reply Apr 1, 2024, 4:19 AM Reply Quote 1
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Apr 1, 2024, 3:58 AM

                                I believe the only known exploit targetted amd64 only.

                                M 1 Reply Last reply Apr 1, 2024, 12:19 PM Reply Quote 1
                                • T
                                  tgl @JonathanLee
                                  last edited by Apr 1, 2024, 4:19 AM

                                  @JonathanLee
                                  You really only need to worry if you are using a bleeding-edge distro that ships very latest upstream packages. xz 5.6.x was new in the last month or two and hadn't made it into anything beyond beta-grade releases of popular distros.

                                  If it turns out that the compromised developer snuck something exciting into xz 5.4.x, or into other packages that he reportedly worked on, then a lot of people are in for a lot of work. But there's no reason to think that yet.

                                  We were all very fortunate that this got caught so early ...

                                  1 Reply Last reply Reply Quote 1
                                  • M
                                    mcury @stephenw10
                                    last edited by mcury Apr 1, 2024, 12:19 PM Apr 1, 2024, 12:19 PM

                                    @stephenw10 said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

                                    I believe the only known exploit targetted amd64 only.

                                    yes, image got from github.
                                    login-to-view

                                    dead on arrival, nowhere to be found.

                                    1 Reply Last reply Reply Quote 1
                                    • provelsP
                                      provels
                                      last edited by Apr 1, 2024, 1:54 PM

                                      FWIW, my Debian 12 Bookworm sys shows xz (XZ Utils) 5.4.1, liblzma 5.4.1 and was just upgraded a couple days ago.
                                      Think they backed down the xz version?

                                      Peder

                                      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                      M 1 Reply Last reply Apr 1, 2024, 1:56 PM Reply Quote 0
                                      • M
                                        mcury @provels
                                        last edited by Apr 1, 2024, 1:56 PM

                                        @provels said in XZ Struck By Malicious Code That Could Allow Unauthorized Remote System Access:

                                        FWIW, my Debian 12 Bookworm sys shows xz (XZ Utils) 5.4.1, liblzma 5.4.1 and was just upgraded a couple days ago.
                                        Think they backed down the xz version?

                                        https://security-tracker.debian.org/tracker/CVE-2024-3094

                                        dead on arrival, nowhere to be found.

                                        M 1 Reply Last reply Apr 10, 2024, 10:08 PM Reply Quote 1
                                        • M
                                          mcury @mcury
                                          last edited by mcury Apr 10, 2024, 10:08 PM Apr 10, 2024, 10:08 PM

                                          Alan DeKok speaking about XZ back door: Chief Executive Officer of networkradius.com
                                          https://lists.freeradius.org/pipermail/freeradius-users/2024-April/104263.html

                                          dead on arrival, nowhere to be found.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.