CVE-2018-6954
Last modified
CVE-2018-6954 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a directory and a file under that directory, and later replacing that directory with a symlink. This occurs even if the fs.protected_symlinks sysctl is turned on.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a directory and a file under that directory, and later replacing that directory with a symlink. This occurs even if the fs.protected_symlinks sysctl is turned on.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Systemd Project | Systemd | <= 237 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Opensuse | Leap | 42.3 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- https://github.com/systemd/systemd/issues/7986Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3816-1/Third Party Advisory
- https://usn.ubuntu.com/3816-2/Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- https://github.com/systemd/systemd/issues/7986Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3816-1/Third Party Advisory
- https://usn.ubuntu.com/3816-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-6954?
How severe is CVE-2018-6954?
How do I fix CVE-2018-6954?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-6944core/lib/upload/um-file-upload.php in the UltimateMember plu…
- CVE-2018-6947An uninitialised stack variable in the nxfuse component that…
- CVE-2018-6948In CCN-lite 2, the function ccnl_prefix_to_str_detailed can …
- CVE-2018-6951An issue was discovered in GNU patch through 2.7.6. There is…
- CVE-2018-6952A double free exists in the another_hunk function in pch.c i…
- CVE-2018-6953In CCN-lite 2, the Parser of NDNTLV does not verify whether …
- CVE-2018-6957VMware Workstation (14.x before 14.1.1, 12.x) and Fusion (10…
- CVE-2018-6958VMware vRealize Automation (vRA) prior to 7.3.1 contains a v…
- CVE-2018-6959VMware vRealize Automation (vRA) prior to 7.4.0 contains a v…
- CVE-2018-6960VMware Horizon DaaS (7.x before 8.0.0) contains a broken aut…
- CVE-2018-6961VMware NSX SD-WAN Edge by VeloCloud prior to version 3.1.0 c…8.1
- CVE-2018-6962VMware Fusion (10.x before 10.1.2) contains a signature bypa…
Are you affected by CVE-2018-6954?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
