CVE-2017-18078
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.065%
chance of exploitation in the next 30 days
higher than 65.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 4
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-59: Improper Link Resolution Before File Access
Timeline
- 2018-01-29Published by the CNA05:00 UTC
- 2018-01-29First Exploit-DB entry (EDB-ID 43935)same day
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 43935 | local | linux | 2018-01-29 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| systemd_project systemd | before 237fixed in 237 | 237 |
| debian debian_linux | 8.0no fix listed | not listed |
| opensuse leap | 42.3no fix listed | not listed |
References
- http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.html
- http://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.html
- http://www.openwall.com/lists/oss-security/2018/01/29/3
- https://github.com/systemd/systemd/issues/7736
- https://www.exploit-db.com/exploits/43935/
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html
- https://www.openwall.com/lists/oss-security/2018/01/29/4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-18078'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-18078'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-18078'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-18078'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).