Privilege Escalation via systemd-tmpfiles Symlink Vulnerability

Privilege Escalation via systemd-tmpfiles Symlink Vulnerability

CVE-2018-6954 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our User Device Pen Test.