CVE-2018-6954

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*

History

No history.

Information

Published : 2018-02-13 20:29

Updated : 2023-11-07 03:00


NVD link : CVE-2018-6954

Mitre link : CVE-2018-6954

CVE.ORG link : CVE-2018-6954


JSON object : View

Products Affected

canonical

  • ubuntu_linux

systemd_project

  • systemd

opensuse

  • leap
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')