CVE-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 off, which allows local users to bypass....
HighCVSS 7.8
EPSS 1.1%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/systemd(Ubuntu Pro 14.04) | = 204-0ubuntu18; = 204-0ubuntu19; = 204-5ubuntu3; = 204-5ubuntu5 +42 more | No fix listed | No fix yet |
| ubuntu/systemd(Ubuntu Pro 16.04) | = 225-1ubuntu9; = 227-2ubuntu1; = 227-2ubuntu2; = 228-1ubuntu2 +53 more | No fix listed | No fix yet |
| debian/systemd(Debian 12) | < 237-1 | 237-1 | Fixed |
| debian/systemd(Debian 13) | < 237-1 | 237-1 | Fixed |
| debian/systemd(Debian 14) | < 237-1 | 237-1 | Fixed |
| systemd project systemd | < 237 | 237 | Fixed |
| debian linux | = 8.0 | No fix listed | Versions listed |
| openSUSE leap | = 42.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/systemd(Debian:12) | < 237-1 | 237-1 |
| debian/systemd(Debian:13) | < 237-1 | 237-1 |
| debian/systemd(Debian:14) | < 237-1 | 237-1 |
| systemd project systemd | < 237 | 237 |
| debian linux | = 8.0 | No fix listed |
| openSUSE leap | = 42.3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-0ubuntu18 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-0ubuntu19 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu5 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu6 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu7 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu8 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu9 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu10 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu11 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu13 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu14 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu15 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu16 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu17 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu18 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu19 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20 | No fix listed |
Show 84 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.4 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.5 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.6 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.7 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.8 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.9 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.10 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.11 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.12 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.13 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.14 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.15 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.18 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.19 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.20 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.21 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.22 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.24 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.25 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.26 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.28 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.29 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.31 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.31+esm2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:14.04) | = 204-5ubuntu20.31+esm3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 225-1ubuntu9 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 227-2ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 227-2ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-1ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-2ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-2ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-3ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-4ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-4ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-5ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-5ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-5ubuntu3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 228-6ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-1ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-1ubuntu4 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-2ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-3ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-3ubuntu2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu4 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu5 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu6 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu7 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu8 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu10 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu11 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu12 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu13 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu16 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu17 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu19 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu20 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.2 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.4 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.5 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.6 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.8 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.9 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.10 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.15 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.16 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.17 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.19 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.21 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.22 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.23 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.27 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.28 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.29 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.31 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.31+esm1 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.31+esm3 | No fix listed |
| ubuntu/systemd(Ubuntu:Pro:16.04) | = 229-4ubuntu21.31+esm4 | No fix listed |
References
- Debian Security Tracker CVE-2017-18078 vendor-advisory
- openSUSE-SU-2018:0560 mailing-list third-party-advisory vendor-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- [oss-security] 20180129 CVE-2018-18078: systemd-tmpfiles root privilege escalation with fs.protected_hardlinks=0 exploit mailing-list third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [debian-lts-announce] 20190424 [SECURITY] [DLA 1762-1] systemd security update mailing-list third-party-advisory
- 43935 exploit third-party-advisory vdb-entry
- [oss-security] 20180129 Re: CVE-2017-18078: systemd-tmpfiles root privilege mailing-list third-party-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking