Systemd
CVE-2018-6954
HIGH
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
1DescriptionNVD
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.
AnalysisAI
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. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.
Technical ContextAI
This vulnerability is classified under CWE-59. 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. Affected products include: Systemd Project Systemd, Canonical Ubuntu Linux, Opensuse Leap. Version information: through 237.
RemediationAI
No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.
Stack-based buffer overflow in the getpwnam and getgrnam functions of the NSS module nss-mymachines in systemd. Rated cr
Integer overflow in the valid_user_field function in journal/journald-native.c in systemd allows remote attackers to cau
A flaw in systemd v228 in /src/basic/fs-util.c caused world writable suid files to be created when using the systemd tim
systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible su
It was discovered that a systemd service that uses DynamicUser property can get new privileges through the execution of
It was discovered that a systemd service that uses DynamicUser property can create a SUID/SGID binary that would be allo
A vulnerability in unit_deserialize of systemd allows an attacker to supply arbitrary state across systemd re-execution
In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using t
A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary
systemd v233 and earlier fails to safely parse usernames starting with a numeric digit (e.g. Rated critical severity (CV
A use-after-free vulnerability was found in systemd. Rated critical severity (CVSS 9.8), this vulnerability is remotely
The manager_dispatch_notify_fd function in systemd allows local users to cause a denial of service (system hang) via a z
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today