CVE-2018-6954

HIGH

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.

References

http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html

https://github.com/systemd/systemd/issues/7986

https://usn.ubuntu.com/3816-1/

https://usn.ubuntu.com/3816-2/

Details

Source: MITRE

Published: 2018-02-13

Updated: 2019-05-28

Type: CWE-264

Risk Information

CVSS v2.0

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3.0

Base Score: 7.8

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

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH