Slashdot Mirror


'Severe' Systemd Bug Allowed Remote Code Execution For Two Years (itwire.com)

ITWire reports: A flaw in systemd, the init system used on many Linux systems, can be exploited using a malicious DNS query to either crash a system or to run code remotely. The vulnerability resides in the daemon systemd-resolved and can be triggered using a TCP payload, according to Ubuntu developer Chris Coulson. This component can be tricked into allocating less memory than needed for a look-up. When the reply is bigger it overflows the buffer allowing an attacker to overwrite memory. This would result in the process either crashing or it could allow for code execution remotely. "A malicious DNS server can exploit this by responding with a specially crafted TCP payload to trick systemd-resolved in to allocating a buffer that's too small, and subsequently write arbitrary data beyond the end of it," is how Coulson put it.
Affected Linux vendors have pushed out patches -- but the bug has apparently been present in systemd code since June of 2015. And long-time Slashdot reader walterbyrd also reports a recently-discovered bug where systemd unit files that contain illegal usernames get defaulted to root.

3 of 551 comments (clear)

  1. Re:Time for tar and feathers? by The123king · · Score: 5, Funny

    I can't see how a tape archive could possibly help.

    --
    If you gave me a choice between a printer and a giraffe with explosive diarrhoea, i'll get my ladder and my raincoat
  2. Re:No, its not a pretty decent idea by Anonymous Coward · · Score: 5, Funny

    systemd is modular.

    Yes, so modular.

  3. Integrate the Linux kernel by stooo · · Score: 3, Funny

    >> Perhaps we need to get rid of Linux kernel as well.
    Nooo, that's a bit over the top.
    We only need to integrate the Linux kernel into Systemd.

    --
    aaaaaaa