Title: systemd-tmpfiles root privilege escalation by following non-terminal symlinks
Title: systemd-tmpfiles root privilege escalation by following non-terminal symlinks
Author: Michael Orlitzky
Fixed in: Version 240, following a broad set of upstream fixes; version 239 contained only a partial fix
Summary
Before version 240, systemd-tmpfiles could follow symlinks located in non-terminal path components while changing permissions and ownership. With entries such as recursive Z rules, a local attacker could redirect those privileged changes to arbitrary files and gain root; the protected-symlinks sysctl did not stop this class of attack.
Learn more
Michael Orlitzky’s detailed advisory provides the full technical disclosure and remediation references for CVE-2018-6954.
What is CVE?
Common Vulnerabilities and Exposures (CVE) provides standard public identifiers for known cybersecurity vulnerabilities. MITRE maintains the CVE program and coordinates its vulnerability-identification ecosystem in the public interest.
About Metro Data, Inc.
Founded in 1994, Metro Data, Inc. is an information-systems and services firm that works exclusively with business clients to develop and apply technology solutions aligned with client goals.
Metro Data’s end-to-end experience helps customers keep pace with changing technology, secure systems, reduce costs, and improve information-system performance.
About the CVE author, Michael J. Orlitzky
Michael J. Orlitzky is a long-time Metro Data technical leader with a Ph.D. in mathematics who has discovered and helped remediate vulnerabilities in operating systems and application software, with research recognized by industry and academic peers.