Systemd Vulnerability In Linux Could Trigger Remote Attacks And System Crashes

  • 456
  •  
  •  
  •  
  • 6
  •  
  •  
  •  
    462
    Shares

A researcher has discovered another security flaw affecting Linux systems. The flaw existing in Systemd that could allow an attacker to gain remote code execution.

Systemd Vulnerability Triggered Hacks And System Crash

Reportedly, a researcher from the Google security team, Felix Wilhelm, discovered a flaw in Linux component that could lead to system crashes and hacks. Precisely, he found a systemd vulnerability that makes Linux systems vulnerable to cyber attacks. It allowed an attacker to execute codes remotely on the target machines or induce a denial of service.

According to Wilhelm, an attacker could exploit the bug residing within the Systemd suite’s written-from-scratch DHCPv6 client by presenting malicious DHCPv6 packets to it. As explained in the researcher’s bug report,

“systemd-networkd contains a DHCPv6 client which is written from scratch and can be spawned automatically on managed interfaces when IPv6 router advertisement are received.”

The DHCPv6 client activates automatically upon enabling IPv6 support, triggering the processing of incoming relevant packets.

Upon exploiting the “Out-of-Bounds write in systemd-networkd dhcpv6 option handling” vulnerability (CVE-2018-15688), the attacker could either hijack the system, or crash causing DoS state due to heap-based buffer overflow.

“The overflow can be triggered relatively easy by advertising a DHCPv6 server with a server-id >= 493 characters long.”

Exploiting this flaw, however, requires the hacker to have control over a rogue DHCPv6 server on the same network as that of the target DHCPv6 client.

Patches Available

Systemd management suite accompanies numerous Linux distros, including RHEL, Debian, Ubuntu, CoreOS, Fedora, Mint, and SUSE.

After the discovery of the bug, Lennart Poettering, the creator of Systemd, published the security fix for all Linux distros depending on system-networkd.

Besides, Ubuntu and Red Hat also published security advisories describing the bug and acknowledging the patch. While the bug affects most Linux distributions, it allegedly did not always affect the RHEL 7. As explained in RHEL advisory:

“This issue affects the versions of systemd-networkd as shipped with Red Hat Enterprise Linux 7. However, the packet is available only through the RHEL-7-server-optional-rpms repository. And it cannot be exploited unless the interface is explicitly configured to use DHCP.

This issue affects the versions of NetworkManager as shipped with Red Hat Enterprise Linux 7 because the package includes some parts of the systemd-networkd code, which present the same vulnerability. NetworkManager is vulnerable to this flaw only when configured to use the internal DHCP, which is not the default. However, when it is, the flaw may be triggered by a connection where either ipv6.method is set to DHCP or it is set to auto, which is the default value.”

The following two tabs change content below.

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]

Do NOT follow this link or you will be banned from the site!