Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Kierunkowy74 ( Kierunkowy74@lemmy.zip )  to Programmer Humor@programming.dev · 22 days ago

Terminal2Shell: Critical flaw grants instant shell access on every major OS

terminal2shell.com

external-link
message-square
46
link
fedilink
488
external-link

Terminal2Shell: Critical flaw grants instant shell access on every major OS

terminal2shell.com

Kierunkowy74 ( Kierunkowy74@lemmy.zip )  to Programmer Humor@programming.dev · 22 days ago
message-square
46
link
fedilink
Researchers disclose a 55-year-old vulnerability affecting macOS, Windows and Linux. Exploitation is trivial and requires no special tools. No patch exists.
alert-triangle
You must log in or register to comment.
  • MajorHavoc ( MajorHavoc@programming.dev ) 
    link
    fedilink
    arrow-up
    185
    ·
    22 days ago

    Okay. I briefly ate the onion, on this one. It tastes like sysadmin tears.

    • we are all ( crazycraw@crazypeople.online ) 
      link
      fedilink
      English
      arrow-up
      111
      ·
      22 days ago

      I had a msg to my team drafted before I realized I was a fucking idiot.

      • we are all ( crazycraw@crazypeople.online ) 
        link
        fedilink
        English
        arrow-up
        43
        ·
        22 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.

        • decolo ( decolo@piefed.social ) 
          link
          fedilink
          English
          arrow-up
          7
          ·
          21 days ago

          Duct tape works a treat for that!

        • not_IO ( not_IO@lemmy.blahaj.zone ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 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 ( crazycraw@crazypeople.online ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            21 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)

        • KeenFlame ( KeenFlame@feddit.nu ) 
          link
          fedilink
          arrow-up
          1
          ·
          21 days ago

          How is it in your defense when you were going to do it to them?

          • we are all ( crazycraw@crazypeople.online ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            21 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 ( KeenFlame@feddit.nu ) 
              link
              fedilink
              arrow-up
              1
              ·
              19 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

    • DJKJuicy ( DJKJuicy@sh.itjust.works ) 
      link
      fedilink
      arrow-up
      30
      ·
      22 days ago

      I was fooled until I saw the CVSS score of 11 on a scale of 0 to 10.

      Up to 11

      • The_Decryptor ( The_Decryptor@aussie.zone ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        20 days ago

        If you think that’s bad, this flaw is rated a 22.

        https://ssh2rce.com/

  • hanke ( hanke@feddit.nu ) 
    link
    fedilink
    arrow-up
    108
    ·
    22 days ago

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

    Scary stuff. Tossing my machines in the bin tomorrow.

    • threeonefour ( threeonefour@piefed.ca ) 
      link
      fedilink
      English
      arrow-up
      73
      ·
      22 days ago

      I’m not taking any chances. I’ve already tossed bash into the /bin/

  • micgerne ( micgerne@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    75
    ·
    22 days ago

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

    • a_jeering_serpent ( a_jeering_serpent@sopuli.xyz ) 
      link
      fedilink
      English
      arrow-up
      22
      ·
      22 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

      • yetAnotherUser ( yetAnotherUser@discuss.tchncs.de ) 
        link
        fedilink
        arrow-up
        15
        ·
        22 days ago

        This flag is fortunately not needed as /* ensures root recipes are preserved. It’s just that anything below isn’t.

        • a_jeering_serpent ( a_jeering_serpent@sopuli.xyz ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 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 ( yetAnotherUser@discuss.tchncs.de ) 
            link
            fedilink
            arrow-up
            2
            ·
            20 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 ( a_jeering_serpent@sopuli.xyz ) 
              link
              fedilink
              English
              arrow-up
              2
              ·
              20 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 ( ImgurRefugee114@reddthat.com ) 
    link
    fedilink
    arrow-up
    72
    ·
    22 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.

    • SwooshBakery624 [they/them] ( SwooshBakery624@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      10
      ·
      22 days ago

      That’s why there’s no sudo on my system, only doas.

    • psud ( psud@aussie.zone ) 
      link
      fedilink
      English
      arrow-up
      6
      ·
      22 days ago

      sudo is so broken, automatic privilege cloning of any user

  • ns1 ( ns1@feddit.uk ) 
    link
    fedilink
    English
    arrow-up
    39
    ·
    22 days ago

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

  • Drunk & Root ( DrunkAnRoot@sh.itjust.works ) 
    link
    fedilink
    arrow-up
    38
    ·
    22 days ago

    I work at google just shut off every server to protect us. 👍

    • laranis ( laranis@lemmy.zip ) 
      link
      fedilink
      arrow-up
      17
      ·
      22 days ago

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

  • scops ( scops@reddthat.com ) 
    link
    fedilink
    English
    arrow-up
    27
    ·
    22 days ago

    Microsoft Paint: Not affected. Thank God.

    • MisterD ( MisterD@lemmy.ca ) 
      link
      fedilink
      arrow-up
      6
      ·
      22 days ago

      Unless you have allowed the AI features to install

    • bitflip ( bitflip@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      21 days ago

      Not necessary.

  • stembolts ( stembolts@programming.dev ) 
    link
    fedilink
    arrow-up
    20
    ·
    22 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 ( Allero@lemmy.today ) 
    link
    fedilink
    arrow-up
    18
    ·
    22 days ago

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

    • hessenjunge ( hessenjunge@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      11
      ·
      21 days ago

      The community it’s posted in is a bit of a giveaway, isn’t it?

      • explodicle ( explodicle@sh.itjust.works ) 
        link
        fedilink
        English
        arrow-up
        10
        ·
        21 days ago

        How dare you overestimate my intelligence.

  • epyon22 ( epyon22@sh.itjust.works ) 
    link
    fedilink
    English
    arrow-up
    16
    ·
    22 days ago

    Gotta minimize your attack surface sudo apt remove konsole for any Debian kde based distros

  • Sina ( Sina@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    14
    ·
    21 days ago

    I still find it funny that in the distant past an engineer thought pasted commands should have some ~~ characters added, so the user has to delete them & think about their actions while pressing their arrow or various faster ctrl+ keys …

    • KeenFlame ( KeenFlame@feddit.nu ) 
      link
      fedilink
      arrow-up
      3
      ·
      21 days ago

      Oni-chan~~

  • SapphironZA ( SapphironZA@sh.itjust.works ) 
    link
    fedilink
    arrow-up
    12
    ·
    22 days ago

    Switch off computer is the best mitigation

    Removing keyboard and locking operator out of building is the next best thing.

  • rockSlayer ( rockSlayer@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    22 days ago

    Only tangentially related, but this reminds me of an interaction I had here on Lemmy. I was talking about my pure bash, brain-made CLI app that pushes files between Google Compute head nodes and Google Storage buckets, but does some additional fuckery with bash strings to serve as a crude git. Basically, the app manipulates a string that represents a bucket, and then uses the appropriate gcloud command with that string.

    Someone was extremely concerned about the security of my app, how I should do an AI code review, and that only good programmers use all the tools available to them. I told them that I only want my code to be reviewed by humans. They said it was wild that someone would decline a security review. I told them that if there’s a security issue with my app, they’ll have to take it up with Google.

  • CoconutLove ( CoconutLove@lemmy.today ) 
    link
    fedilink
    arrow-up
    8
    ·
    22 days ago

    Must’ve been another AI found exploit because no human could piece this together

    • jmm ( jmm@lemmy.zip ) 
      link
      fedilink
      arrow-up
      3
      ·
      22 days ago

      Thank goodness for frontier models.

  • FaceDeer ( FaceDeer@fedia.io ) 
    link
    fedilink
    arrow-up
    7
    ·
    22 days ago

    Finally I’m justified in doing everything via a GUI.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 382 users / day
  • 2.29K users / week
  • 4.27K users / month
  • 8.4K users / 6 months
  • 465 local subscribers
  • 34.4K subscribers
  • 1.69K Posts
  • 28K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code