• some_guy@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    If you’re smart, like me, you’ll unplug your devices immediately. Failure to do so ensures your doom.

      • we are all@crazypeople.online
        link
        fedilink
        English
        arrow-up
        58
        arrow-down
        2
        ·
        8 days ago

        in my defense, my team is always trying to be mr. achiever and drop the latest vulnerability. I got a glimpse of this one and got excited since I hadn’t heard of this “new named threat”. when I tried reading further to prepare my draft… the reach and exposure of this vulnerability became clear.

        also, to mitigate this, we’d have to hotpatch layer 8.

          • we are all@crazypeople.online
            link
            fedilink
            English
            arrow-up
            2
            ·
            7 days ago

            justifying my behavior because I was motivated by the aforementioned external behaviors by establishing their trends of beating me to the aforementioned punch.

            WOOO I need to let autocorrect hit that aforementioned word again yeah soo satisfying.

            • KeenFlame@feddit.nu
              link
              fedilink
              arrow-up
              1
              ·
              5 days ago

              Nothing anyone else does demands you also do it. It is a mark of maturity to understand that if you don’t want something to happen, you should abstain because how you treat yourself is more important than how others do

        • not_IO@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days ago

          u shouldn’t play the achiever game with your team, it’s an exploitation tactic and it consumes every fiber of your being

          • we are all@crazypeople.online
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            7 days ago

            my carcass has long been picked clean but I thought" hey maybe the old man still can find surprises those whippersnappers haven’t yet."… thinking “ohh lemmy stumbled upon something! beans!” (I think you have to say this when you reference lemmy now)

      • Agent641@lemmy.world
        link
        fedilink
        arrow-up
        27
        ·
        8 days ago

        I’ve sent a company wide email telling everyone I don’t want to be sysasmin anymore.

        It has nothing to do with the CVE

        • JoeBigelow@lemmy.ca
          link
          fedilink
          arrow-up
          7
          ·
          8 days ago

          I’m here cautiously making sure it’s a joke that I don’t understand. Problem exists between keyboard and seat.

          • Tehhund@lemmy.world
            link
            fedilink
            English
            arrow-up
            8
            ·
            8 days ago

            Not even that, it’s not a problem at all. They’re just saying that when you open a terminal program you get access to the shell. That is exactly the point of a terminal program. It’s a bit like “exclusive, shocking report: water is wet!”

            I mean, I guess part of the joke is if an attacker can get into your computer they can do nefarious things, but that’s not as funny.

  • hanke@feddit.nu
    link
    fedilink
    arrow-up
    149
    arrow-down
    1
    ·
    8 days ago

    Just tried it out. It is real. And really simple to do.

    Scary stuff. Tossing my machines in the bin tomorrow.

  • micgerne@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    118
    arrow-down
    3
    ·
    8 days ago

    I just tested this exploit, I was easily able to remove the french language pack by typing “rm -fr /*”

    • a_jeering_serpent@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      35
      arrow-down
      2
      ·
      8 days ago

      Don’t forget the —no-preserve-root flag or you’ll get an index out of bounds when deleting the recipe for five-root-puree

        • a_jeering_serpent@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          Oh i was kind of going for the opposite. 😈

          BTW use caution with your glob there, that only does what you described if the folder has contents, if it doesn’t, rather than getting nothing you’ll get back the parent directory, at least in bash. I’m not one of the cool zsh kids.

          • yetAnotherUser@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            6 days ago

            Huh, are you sure or am I just stupid?

            [user@device Documents]$ mkdir test
            [user@device Documents]$ cd test
            [user@device test]$ ls ./*
            ls: cannot access './*': No such file or directory
            

            Same behavior with * instead of ./*.

            • a_jeering_serpent@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              2
              ·
              6 days ago

              I may be the stupid one, i’m sure there’s a related gotcha here under some condition, but objectively not the one i described. Sorry, did not intend to waste anyone’s time and i do appreciate the response back to set me straight.

  • ImgurRefugee114@reddthat.com
    link
    fedilink
    arrow-up
    91
    ·
    8 days ago

    Getting a shell is bad, but what makes this worse is the insecurity of popular Linux tools that can be used for privilege escalation.

    The sudo program has had a known vulnerability since its inception. The developers are incompetent. In some configurations, all you need is the user’s password and you can execute arbitrary code as root. Sometimes, no password is needed at all.

    • laranis@lemmy.zip
      link
      fedilink
      arrow-up
      22
      ·
      8 days ago

      I took the “us” in your statement to be “humanity” and it sparked an unexpected feeling of hope.

  • ns1@feddit.uk
    link
    fedilink
    English
    arrow-up
    45
    ·
    8 days ago

    Nobody show this to my boss please, they’ll be asking me why I haven’t fixed it yet

  • feddylemmy@lemmy.world
    link
    fedilink
    arrow-up
    35
    ·
    8 days ago

    Phew! Just got done patching all my servers. The main IOCs are

    • C:\Windows\System32\cmd.exe
    • /bin/bash
    • /bin/sh
  • dgdft@lemmy.world
    link
    fedilink
    English
    arrow-up
    30
    ·
    8 days ago

    Given simple primitives and runtime permissions, a skilled hacker can even bootstrap one of these “shells” from scratch, underlining the continued importance of banning math and computer science education in our schools.

  • stembolts@programming.dev
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    8 days ago

    Holy shit, my computer is infected. I opened my terminal and typed “sudo ls -halR /” and it showed me every file on my computer. Oh my god.

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    8 days ago

    You should really place a /j somewhere before someone thinks they’re screwed

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        11
        ·
        8 days ago

        While the palindromic structure of that command is pleasing to mine eye, LMDE basically called me a frickin’ idiot for trying.

        I know it always asks Continue [Y/n] and there’s no yes | or echo | to force that, so I was reasonably sure I’d get away with it, but I don’t think I could argue with the sentiment had it actually said that.

        (Also, I have Timeshift, so that would have saved my bacon but for the inconvenience of having to go through a rollback.)

        Anyway, here’s what it said (scrolling may be required to see the last line which is clearly code for “you’re an idiot”):

        REMOVING:                       
          apt       apt-utils          mint-meta-cinnamon  mintsources  mintupdate       sudo
          apt-file  command-not-found  mint-meta-core      mintsystem   python3-repolib
        
        WARNING: The following essential packages will be removed.
        This should NOT be done unless you know exactly what you are doing!
          apt
        
        Summary:
          Upgrading: 0, Installing: 0, Removing: 12, Not Upgrading: 1
          Freed space: 52.3 MB
        
        Error: Removing essential system-critical packages is not permitted. This might break the system.
        
        • 🌞 Alexander Daychilde 🌞@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 days ago

          First of all, it pleases me greatly that you appreciated the palindromic nature of it. That pleased me as I wrote it (you know how you can write something and realize that it’s unintentionally great? lol)

          Second of all, it pleases me that you tried it. lol. I was originally a DOS/Windows guy, so while I know a tiny bit of the Deep Magic, it’s safe to say I’m a fairly average user on the Linux side of things, though I do love learning.

          How brilliant. Just like with rm / -rf protection that you can override, but must override… I had actually assumed (without thought) that sudo and apt were built-in commands like dir and cd in DOS, so there wouldn’t be anything to remove. But makes sense that everything is a package.

          Today, thanks to you, I learned the most delightful thing. Thank you. <3

          • palordrolap@fedia.io
            link
            fedilink
            arrow-up
            2
            ·
            6 days ago

            Everything is a package

            I mean, pretty much. Or rather, everything is in a package. Back in the old days they were called source distributions or .tar.gzs and you compiled everything yourself. Gentoo, for example, still does everything that way, but uses the name ‘package’ anyway.

            The coreutils package, or something like it, contains multiple commands that a bare bones, command-line-only system would need, but some things are built into the shells. e.g. cd is always shell-based. echo may or may not be. ls (dir) is in coreutils.

            There are also things like busybox that, in a single executable from a single package, contains a stripped-down version of everything in coreutils, a shell and a handful of other things too.

        • jdr@lemmy.ml
          link
          fedilink
          arrow-up
          9
          ·
          8 days ago

          Honestly, I want to be allowed to break my system. I own it, it should do exactly what I say, warnings are fine, but software deciding it knows better than you is how we have reached the inescapable technogulag of the now.