Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@toast.ooo )  to Linux@programming.dev · 2 months ago

Omarchy: Any User Process Can Escalate to Root

0xcc.io

external-link
message-square
11
link
fedilink
58
external-link

Omarchy: Any User Process Can Escalate to Root

0xcc.io

cm0002 ( cm0002@toast.ooo )  to Linux@programming.dev · 2 months ago
message-square
11
link
fedilink
A security issue in Omarchy’s default Docker configuration meant that essentially every program running in the user’s desktop session could escalate to root without a password, sudo, or a privilege prompt. If you use Omarchy, the most important takeaway is simple: update to 4.0.1. I reported this issue privately through the project’s responsible-disclosure process. The underlying configuration has since been patched, so I’m publishing the details now to explain what the issue is and let users know to update their systems.
alert-triangle
You must log in or register to comment.
  • traxex ( traxex@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    72
    ·
    2 months ago

    If you use Omarchy, the most important takeaway is simple: update to 4.0.1.

    Or just delete that racist shitware.

  • NaibofTabr ( NaibofTabr@infosec.pub ) 
    link
    fedilink
    English
    arrow-up
    32
    ·
    2 months ago

    Once more for the people in the back:

    CONTAINERS ARE NOT A SECURITY BARRIER

    If you are relying on the container system to isolate and protect the OS from containerized apps, you are wrong.

    • ColonelThirtyTwo ( ColonelThirtyTwo@pawb.social ) 
      link
      fedilink
      arrow-up
      18
      ·
      2 months ago

      FWIW this isn’t a container escape. It’s just the distro shipping a shitty default that lets the users on the host access root.

      • NaibofTabr ( NaibofTabr@infosec.pub ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        On affected Omarchy systems, this means that the default user and all processes launched in that user session have access to root.

        Hmm, maybe I’m misunderstanding. Does “all processes launched in that user session” not include containerized apps?

        • equivocal ( equivocal@piefed.social ) 
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 months ago

          The issue is that the docker service runs as root and their defaults added the user to a group that allows them to control that service without sudo

          So, the root filesystem can just be passed as a volume to a container and then do whatever you want from there.

          • NaibofTabr ( NaibofTabr@infosec.pub ) 
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            OK, so if you can pass the host root filesystem to a container and then write files or execute code with root privileges on that filesystem, I would definitely consider that a container escape. You’re executing arbitrary code on the host from within a container.

        • ColonelThirtyTwo ( ColonelThirtyTwo@pawb.social ) 
          link
          fedilink
          arrow-up
          5
          ·
          2 months ago

          The issue isn’t that the containers have permissions they weren’t assigned. It’s that the system configuration allows any (host) user to make a container with any permissions, without sudo.

  • ShutUpWesley ( ShutUpWesley@piefed.zip ) 
    link
    fedilink
    English
    arrow-up
    30
    ·
    2 months ago

    What? The “AI first” OS is buggy and insecure? Who could have guessed?

  • ZombieCyborgFromOuterSpace ( ZombieCyborgFromOuterSpace@piefed.ca ) 
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 months ago

    Omarchy: I’m a fascist, btw.

  • blarth ( blarth@thelemmy.club ) 
    link
    fedilink
    arrow-up
    13
    ·
    2 months ago

    Omarchy is a distro for chuds.

  • k0k0_belgium ( k0k0_belgium@lemmychan.org ) 
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Literally who linux

Linux@programming.dev

linux@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: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

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

  • 129 users / day
  • 755 users / week
  • 2.23K users / month
  • 5.67K users / 6 months
  • 128 local subscribers
  • 15.4K subscribers
  • 4.53K Posts
  • 24.1K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code