Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. [security] backdoor in upstream xz/liblzma

[security] backdoor in upstream xz/liblzma

Scheduled Pinned Locked Moved Discuss
5 Posts 3 Posters 1.7k Views 3 Watching
  • 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.
  • girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #1

    Some of you might have seen the recent issue in xz - https://www.openwall.com/lists/oss-security/2024/03/29/4 . There was a backdoor in the upstream release tarballs that leads to ssh server compromise. There is a detect.bin attached in the end of that email. Might want to run that to check if your server is affected.

    #! /bin/bash
    
    set -eu
    
    # find path to liblzma used by sshd
    path="$(ldd $(which sshd) | grep liblzma | grep -o '/[^ ]*')"
    
    # does it even exist?
    if [ "$path" == "" ]
    then
    	echo probably not vulnerable
    	exit
    fi
    
    # check for function signature
    if hexdump -ve '1/1 "%.2x"' "$path" | grep -q f30f1efa554889f54c89ce5389fb81e7000000804883ec28488954241848894c2410
    then
    	echo probably vulnerable
    else
    	echo probably not vulnerable
    fi
    
    

    I am yet to find a system that is affected, so let's see how Cloudron needs to respond.

    1 Reply Last reply
    3
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      https://boehs.org/node/everything-i-know-about-the-xz-backdoor and https://arstechnica.com/security/2024/04/what-we-know-about-the-xz-utils-backdoor-that-almost-infected-the-world/ are great reads!

      1 Reply Last reply
      2
      • matix131997M Offline
        matix131997M Offline
        matix131997
        wrote on last edited by matix131997
        #3

        I think I saw on the ubuntu forum that the 22.04 version had 5.4.x. So we can quietly breathe a sigh of relief. And in the future version 24.04 it already had a faulty version and then they started to fix it as it became known about this problem.

        EDIT: https://ubuntu.com/security/CVE-2024-3094

        Forum: https://askubuntu.com/questions/1509015/is-ubuntu-affected-by-the-xz-backdoor-compromise

        1 Reply Last reply
        3
        • murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #4

          I believe @matix131997 is correct, but maybe in a quick patch, use apt to hold that package for those that may have modified the repos in some way (probably not common, but a good thing to attempt to prevent)

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          1 Reply Last reply
          2
          • girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #5

            @murgero yes, I think Cloudron installations are unaffected unless someone manually updated to latest openssh

            1 Reply Last reply
            3

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search