Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-18078 EUVD-2017-9215GHSA-g2wx-phqf-j84q

systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardli…

Published Jan 29, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned off, which allows local users to bypass intended access restrictions via vectors involving a hard link to a file for which the user lacks write access, as demonstrated by changing the ownership of the /etc/passwd file.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemd 237-1 —
Debian 13 systemd 237-1 —
Debian 12 systemd 237-1 —
Debian 8 systemd 215-17+deb8u12 DLA-1762-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS systemd No fix yet —
Ubuntu Pro 14.04 LTS systemd No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 SP3 systemd 228-150.32.1 SUSE-SU-2018:0546-1
SLES 12 SP2 systemd 228-150.32.1 SUSE-SU-2018:0546-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 systemd 228-150.32.1 SUSE-SU-2018:0546-1
SLES for SAP 12 SP2 systemd 228-150.32.1 SUSE-SU-2018:0546-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed systemd 249.4-2.2 openSUSE-SU-2024:11420-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References