CVE-2017-18078

Summary

CVECVE-2017-18078
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-01-29 05:29:00 UTC
Updated2023-11-07 02:41:00 UTC
Descriptionsystemd-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.

Risk And Classification

Problem Types: CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Freedesktop Systemd All All All All
Application Freedesktop Systemd All All All All
Operating System Opensuse Leap 42.3 All All All
Operating System Opensuse Leap 42.3 All All All
Application Systemd Project Systemd All All All All

References

ReferenceSourceLinkTags
tmpfiles: unsafe handling of hard links and a race condition · Issue #7736 · systemd/systemd · GitHub MISC github.com Exploit, Third Party Advisory
[SECURITY] [DLA 1762-1] systemd security update MLIST lists.debian.org Mailing List, Third Party Advisory
[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
Pony Mail! MLIST lists.apache.org
oss-security - Re: CVE-2017-18078: systemd-tmpfiles root privilege escalation with fs.protected_hardlinks=0 MLIST www.openwall.com Mailing List, Third Party Advisory
openSUSE-SU-2018:0560-1: moderate: Security update for systemd SUSE lists.opensuse.org Mailing List, Third Party Advisory
oss-security - CVE-2018-18078: systemd-tmpfiles root privilege escalation with fs.protected_hardlinks=0 MLIST www.openwall.com Exploit, Mailing List, Third Party Advisory
systemd Local Privilege Escalation ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
Pony Mail! MLIST lists.apache.org
[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 lists.apache.org
systemd (systemd-tmpfiles) < 236 - 'fs.protected_hardlinks=0' Local Privilege Escalation - Linux local Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report