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

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

terminal2shell.com

external-link
message-square
31
link
fedilink
358
external-link

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

terminal2shell.com

Kierunkowy74 ( Kierunkowy74@lemmy.zip )  to Programmer Humor@programming.dev · 14 hours ago
message-square
31
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.
  • Sina ( Sina@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    2
    ·
    53 minutes 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 …

  • Allero ( Allero@lemmy.today ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 hours ago

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

    • hessenjunge ( hessenjunge@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      3
      ·
      2 hours ago

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

  • stembolts ( stembolts@programming.dev ) 
    link
    fedilink
    arrow-up
    10
    ·
    6 hours 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.

  • scops ( scops@reddthat.com ) 
    link
    fedilink
    English
    arrow-up
    16
    ·
    8 hours ago

    Microsoft Paint: Not affected. Thank God.

    • bitflip ( bitflip@lemmy.dbzer0.com ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Not necessary.

    • MisterD ( MisterD@lemmy.ca ) 
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Unless you have allowed the AI features to install

  • micgerne ( micgerne@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    43
    ·
    10 hours 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
      11
      ·
      8 hours 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
        7
        ·
        8 hours ago

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

  • Drunk & Root ( DrunkAnRoot@sh.itjust.works ) 
    link
    fedilink
    arrow-up
    27
    ·
    10 hours ago

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

    • laranis ( laranis@lemmy.zip ) 
      link
      fedilink
      arrow-up
      8
      ·
      7 hours ago

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

  • MajorHavoc ( MajorHavoc@programming.dev ) 
    link
    fedilink
    arrow-up
    131
    ·
    13 hours ago

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

    • DJKJuicy ( DJKJuicy@sh.itjust.works ) 
      link
      fedilink
      arrow-up
      19
      ·
      9 hours ago

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

      Up to 11

    • we are all ( crazycraw@crazypeople.online ) 
      link
      fedilink
      English
      arrow-up
      81
      ·
      12 hours 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
        33
        ·
        12 hours 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
          1
          ·
          45 minutes ago

          Duct tape works a treat for that!

  • ImgurRefugee114 ( ImgurRefugee114@reddthat.com ) 
    link
    fedilink
    arrow-up
    58
    ·
    12 hours 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
      4
      ·
      7 hours ago

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

    • psud ( psud@aussie.zone ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      sudo is so broken, automatic privilege cloning of any user

  • hanke ( hanke@feddit.nu ) 
    link
    fedilink
    arrow-up
    81
    ·
    13 hours 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
      53
      ·
      13 hours ago

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

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

    Switch off computer is the best mitigation

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

  • ns1 ( ns1@feddit.uk ) 
    link
    fedilink
    English
    arrow-up
    33
    ·
    13 hours ago

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

  • rockSlayer ( rockSlayer@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 hours 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.

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

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

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

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

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

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

    • jmm ( jmm@lemmy.zip ) 
      link
      fedilink
      arrow-up
      2
      ·
      8 hours ago

      Thank goodness for frontier models.

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.

  • 684 users / day
  • 1.92K users / week
  • 5.21K users / month
  • 8.21K users / 6 months
  • 464 local subscribers
  • 34K subscribers
  • 1.64K Posts
  • 27K 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