Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 wisha   ( @wisha@lemmy.ml )  to Linux@lemmy.ml · 2 years ago

Malicious KDE theme can wipe out all your data

www.reddit.com

external-link
message-square
19
link
fedilink
  • cross-posted to:
  • linuxfurs@pawb.social
  • kde@lemmy.kde.social
125
external-link

Malicious KDE theme can wipe out all your data

www.reddit.com

 wisha   ( @wisha@lemmy.ml )  to Linux@lemmy.ml · 2 years ago
message-square
19
link
fedilink
  • cross-posted to:
  • linuxfurs@pawb.social
  • kde@lemmy.kde.social
Blocked
www.reddit.com
external-link

cross-posted from: https://lemmy.ml/post/13397700

Malicious KDE theme can wipe out all your data

Or is it just buggy?

alert-triangle
You must log in or # to comment.
  •  BZzzz   ( @MOUCHE_A_MERDE@jlai.lu ) 
    link
    fedilink
    arrow-up
    18
    ·
    2 years ago

    *Malicious script inside everywhere can wipe out all your data

    •  baseless_discourse   ( @baseless_discourse@mander.xyz ) 
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      deleted by creator

  •  Pantherina   ( @Pantherina@feddit.de ) 
    link
    fedilink
    arrow-up
    15
    ·
    2 years ago

    A ton of extensions are executing scripts, but this is generally behind a warning.

    This REALLY has to change guys, and for that the getnewstuff backend must become better.

    For example Dolphin extensions are still downloaded to some random download location that is not actually used.

    And the packaging of addons is extremely random too.

  •  jherazob   ( @jherazob@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 years ago

    On the Reddit thread people, at least one of them tagged as a KDE dev, mentions that widgets NEED to be able to run arbitrary code. I am absolutely baffled by this.

    •  Michal   ( @Michal@programming.dev ) 
      link
      fedilink
      arrow-up
      21
      ·
      2 years ago

      Aren’t widgets pieces of software? Of course they have to run code. But they need to be isolated, or at the very least not have sudo access.

      •  MonkderZweite   ( @MonkderZweite@feddit.ch ) 
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Think of html+css, themes are supposed to be that kind of code who does nothing by itself.

        •  Zamundaaa   ( @Zamundaaa@discuss.tchncs.de ) 
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 years ago

          Widgets aren’t themes. They’re things on your desktop that people are using for example for showing a folder - and if that can’t interact with the system, that widget’s functionality is broken.

          Of course, that should not apply to install scripts or the like, which shouldn’t be a thing at all really. And it should be made a lot more obvious which downloadable things can execute code / which ones are “guaranteed” safe and which ones may not be.

      •  baseless_discourse   ( @baseless_discourse@mander.xyz ) 
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        deleted by creator

        •  ReversalHatchery   ( @ReversalHatchery@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Ok, then a bad actor could enumerate all the subdirs and delete them one by one.

          Even if going down this path would be a good solution, I don’t think this is rm’s job to do. This should be done by an antivirus a security suite. I think I have read that for the past few years the kernel now has a better API than inotify to get notified by file operations. I don’t remember it’s name, but I think it was even mentioned in the docs that security software is a use case of it

          •  baseless_discourse   ( @baseless_discourse@mander.xyz ) 
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year ago

            deleted by creator

    •  Skull giver   ( @skullgiver@popplesburger.hilciferous.nl ) 
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      deleted by creator

  •  𝒎𝒂𝒏𝒊𝒆𝒍   ( @maniel@lemmy.ml ) 
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    2 years ago

    Seems like a ~~blessing ~~ glaring kde bug, I mean how is it possible? Why a theme needs to be able to execute shell commands?

    •  AMDIsOurLord   ( @AMDIsOurLord@lemmy.ml ) 
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      2 years ago

      deleted by creator

    •  ReversalHatchery   ( @ReversalHatchery@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Because themes are not just skins, as I understand. Themes are a collection of a lot of different kinds of components, from color schemes and fonts to window decorations and to a custom interactive SDDM menu as the other commenter said.

  •  katy ✨   ( @cupcakezealot@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    i can do that too with --no-preserve-root but you don’t see me bragging.

  •  jaxil6   ( @jaxil6@futurology.today ) 
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I thought wayland was supposed to improve security. Were the past 18 years a lie?

    •  Klara   ( @boo_@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      This is different from the Wayland security model, as Wayland restricts the ability for clients to modify and read from other clients arbitrarily. This is an extension to a Wayland compositor, and as all extensions do, it contains code which runs on your system. Any code, unless sandboxed, can access your filesystem no matter if it’s run under Wayland, X11, or no windowing system at all for that matter.

      •  Zamundaaa   ( @Zamundaaa@discuss.tchncs.de ) 
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        It is not related to Wayland or the compositor in any way. This is a plasmashell extension.

        Similar caveats do apply to KWin scripts and effects though

    •  ProgrammingSocks   ( @ProgrammingSocks@pawb.social ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Bro does not know what a display server does

      •  jaxil6   ( @jaxil6@futurology.today ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        They should be more specific. This is just false advertising.

        •  baseless_discourse   ( @baseless_discourse@mander.xyz ) 
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          1 year ago

          deleted by creator

        •  ProgrammingSocks   ( @ProgrammingSocks@pawb.social ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Wayland isn’t a product. You’re gonna have to get your mind out of capitalism to understand the free software community.

          •  jaxil6   ( @jaxil6@futurology.today ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 years ago

            >muh capitalism
            Ok commie

            •  ProgrammingSocks   ( @ProgrammingSocks@pawb.social ) 
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              You’re literally on a communist instance of Lemmy.

    •  ReversalHatchery   ( @ReversalHatchery@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      It does, when the bad actor is a program you run, and other open windows contain sensitive content.

      Here the bad actor is code being loaded as an extension to the compositor. A bit like a kernel module, which can bypass file access permissions if it wants.

Linux@lemmy.ml

linux@lemmy.ml

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@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

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

  • 147 users / day
  • 870 users / week
  • 2.33K users / month
  • 7.38K users / 6 months
  • 1.3K local subscribers
  • 60.2K subscribers
  • 7.28K Posts
  • 96.5K Comments
  • Modlog
  • mods:
  •  AgreeableLandscape   ( @AgreeableLandscape@lemmy.ml ) 
  •  nooter692   ( @nooter692@lemmy.ml ) 
  •  MarcellusDrum   ( @MarcellusDrum@lemmy.ml ) 
  •  Arthur Besse   ( @cypherpunks@lemmy.ml ) 
  •  Cyclohexane   ( @cyclohexane@lemmy.ml ) 
  •  d3Xt3r   ( @d3Xt3r@lemmy.nz ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code