fed.dyne.org
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Kierunkowy74@lemmy.zip to Programmer Humor@programming.dev · 13 hours ago

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

terminal2shell.com

external-link
message-square
68
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
482
external-link

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

terminal2shell.com

Kierunkowy74@lemmy.zip to Programmer Humor@programming.dev · 13 hours ago
message-square
68
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
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@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 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@lemmy.today
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    2 hours ago

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

    • hessenjunge@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

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

    • MyVeryRealName@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      I thought I was screwed

  • Anas@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 hour ago

    slop :)

  • DarkCloud@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 hours ago

    If he says he’s there to upgrade the computers, don’t let him in.

  • stembolts@programming.dev
    link
    fedilink
    arrow-up
    16
    ·
    5 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.

  • Clocks [She/They]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    6 hours ago

    I’m tired boss

  • scops@reddthat.com
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    7 hours ago

    Microsoft Paint: Not affected. Thank God.

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

      Not necessary.

    • MisterD@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      7 hours ago

      Unless you have allowed the AI features to install

  • micgerne@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    72
    arrow-down
    1
    ·
    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@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      1
      ·
      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@discuss.tchncs.de
        link
        fedilink
        arrow-up
        13
        ·
        7 hours ago

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

  • Drunk & Root@sh.itjust.works
    link
    fedilink
    arrow-up
    36
    ·
    9 hours ago

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

    • laranis@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      7 hours ago

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

  • MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    174
    ·
    12 hours ago

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

    • DJKJuicy@sh.itjust.works
      link
      fedilink
      arrow-up
      22
      ·
      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@crazypeople.online
      link
      fedilink
      English
      arrow-up
      96
      arrow-down
      1
      ·
      12 hours ago

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

      • MonaySimpson@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        Save it for April 1.

      • we are all@crazypeople.online
        link
        fedilink
        English
        arrow-up
        41
        ·
        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@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          19 minutes ago

          Duct tape works a treat for that!

      • Agent641@lemmy.world
        link
        fedilink
        arrow-up
        22
        ·
        12 hours 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

    • Tehhund@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      10 hours ago

      I only figured it out because I read your comment.

      • MajorHavoc@programming.dev
        link
        fedilink
        arrow-up
        8
        ·
        9 hours ago

        That’s why I confessed. I’m glad to help.

        • JoeBigelow@lemmy.ca
          link
          fedilink
          arrow-up
          5
          ·
          8 hours 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
            6
            ·
            7 hours 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.

  • ImgurRefugee114@reddthat.com
    link
    fedilink
    arrow-up
    73
    ·
    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]@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 hours ago

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

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

      sudo is so broken, automatic privilege cloning of any user

  • hanke@feddit.nu
    link
    fedilink
    arrow-up
    107
    ·
    13 hours ago

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

    Scary stuff. Tossing my machines in the bin tomorrow.

    • criss_cross@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      7 hours ago

      Uh oh I tossed mine in sbin. What do?

    • threeonefour@piefed.ca
      link
      fedilink
      English
      arrow-up
      66
      ·
      12 hours ago

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

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

    Switch off computer is the best mitigation

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

  • ns1@feddit.uk
    link
    fedilink
    English
    arrow-up
    37
    ·
    12 hours 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
    30
    ·
    13 hours ago

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

    • C:\Windows\System32\cmd.exe
    • /bin/bash
    • /bin/sh
    • damnthefilibuster@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      12 hours ago

      So zsh is good? /s

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        7 hours ago

        According to the report, zsh is even worse

        2009 zsh adoption grows. Now the shell is also pretty, which researchers believe lures more victims.

      • Anafabula@discuss.tchncs.de
        link
        fedilink
        arrow-up
        10
        ·
        12 hours ago

        nushell, ash, elvish, dash, powershell, …

        • sjpwarren@programming.dev
          link
          fedilink
          arrow-up
          21
          ·
          12 hours ago

          powershell is good because no hacker can be bothered typing that much to get anything to work ;)

          • bitjunkie@lemmy.world
            link
            fedilink
            arrow-up
            12
            ·
            12 hours ago

            Security by utter absence of usability

          • cenzorrll@piefed.ca
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 hours ago

            I’m taking some admin/security courses and powershell was touted as “it’s so easy to make your own scripts to save time!”. I was just like, “the fuck Koolaid are you drinking?”

          • tordenflesk@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            11 hours ago

            pwsh

          • kubica@fedia.io
            link
            fedilink
            arrow-up
            3
            ·
            12 hours ago

            Was the command separated by dashes or case change? Let me che…ange to something else.

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.

  • 1.09K users / day
  • 3.66K users / week
  • 9.35K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 34K subscribers
  • 2.36K Posts
  • 75.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org