CVE-2017-18078
published 2018-01-29CVE-2017-18078: systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned…
PriorityP341high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EXPLOIT
EPSS
1.07%
61.3th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | systemd | < systemd 237-1 (bookworm) | systemd 237-1 (bookworm) |
| opensuse | leap | — | — |
| systemd_project | systemd | < 237 | 237 |
| systemd_project | systemd | >= 0 < 237-1 | 237-1 |
| systemd_project | systemd | >= 0 < 237-1 | 237-1 |
| systemd_project | systemd | >= 0 < 237-1 | 237-1 |
| systemd_project | systemd | >= 0 < 237-1 | 237-1 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-g2wx-phqf-j84q: systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs
ghsa_unreviewed·2022-05-13
CVE-2017-18078 [HIGH] CWE-59 GHSA-g2wx-phqf-j84q: systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs
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.
OSV
CVE-2017-18078: systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs
osv·2018-01-29·CVSS 7.8
CVE-2017-18078 [HIGH] CVE-2017-18078: systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs
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.
Red Hat
systemd: Unsafe handling of hard links allowing privilege escalation
vendor_redhat·2017-12-24·CVSS 7.8
CVE-2017-18078 [HIGH] CWE-367 systemd: Unsafe handling of hard links allowing privilege escalation
systemd: Unsafe handling of hard links allowing privilege escalation
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.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not exploitable in the default configuration Red Hat Enterprise Linux. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification:
https://access.redhat.com/sec
Debian
CVE-2017-18078: systemd - systemd-tmpfiles in systemd before 237 attempts to support ownership/permission ...
vendor_debian·2017·CVSS 7.8
CVE-2017-18078 [HIGH] CVE-2017-18078: systemd - systemd-tmpfiles in systemd before 237 attempts to support ownership/permission ...
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.
Scope: local
bookworm: resolved (fixed in 237-1)
bullseye: resolved (fixed in 237-1)
forky: resolved (fixed in 237-1)
sid: resolved (fixed in 237-1)
trixie: resolved (fixed in 237-1)
No detection rules found.
Bugzilla
CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation [fedora-all]
bugzilla·2018-01-30·CVSS 7.8
CVE-2017-18078 [HIGH] CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation [fedora-all]
CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation
bugzilla·2018-01-29·CVSS 7.8
CVE-2017-18078 [HIGH] CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation
CVE-2017-18078 systemd: Unsafe handling of hard links allowing privilege escalation
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.
Upstream bug:
https://github.com/systemd/systemd/issues/7736
Upstream patch:
https://github.com/systemd/systemd/commit/5579f85663d10269e7ac7464be6548c99cea4ada
Discussion:
Created systemd tracking bugs for this issue:
Affects: fedora-all [bug 1539977]
---
Statement:
Red Hat Product Security has rated this issue as having Mod
http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.htmlhttp://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.htmlhttp://www.openwall.com/lists/oss-security/2018/01/29/3https://github.com/systemd/systemd/issues/7736https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.debian.org/debian-lts-announce/2019/04/msg00022.htmlhttps://www.exploit-db.com/exploits/43935/https://www.openwall.com/lists/oss-security/2018/01/29/4http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.htmlhttp://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.htmlhttp://www.openwall.com/lists/oss-security/2018/01/29/3https://github.com/systemd/systemd/issues/7736https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3Ehttps://lists.debian.org/debian-lts-announce/2019/04/msg00022.htmlhttps://www.exploit-db.com/exploits/43935/https://www.openwall.com/lists/oss-security/2018/01/29/4
2018-01-29
Published