ID CVE-2018-15687
Summary A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary files. Affected releases are systemd versions up to and including 239.
References
Vulnerable Configurations
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
    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.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
  • cpe:2.3:a:systemd_project:systemd:235:*:*:*:*:*:*:*
    cpe:2.3:a:systemd_project:systemd:235:*:*:*:*:*:*:*
  • cpe:2.3:a:systemd_project:systemd:236:*:*:*:*:*:*:*
    cpe:2.3:a:systemd_project:systemd:236:*:*:*:*:*:*:*
  • cpe:2.3:a:systemd_project:systemd:237:*:*:*:*:*:*:*
    cpe:2.3:a:systemd_project:systemd:237:*:*:*:*:*:*:*
  • cpe:2.3:a:systemd_project:systemd:238:*:*:*:*:*:*:*
    cpe:2.3:a:systemd_project:systemd:238:*:*:*:*:*:*:*
  • cpe:2.3:a:systemd_project:systemd:239:*:*:*:*:*:*:*
    cpe:2.3:a:systemd_project:systemd:239:*:*:*:*:*:*:*
CVSS
Base: 6.9 (as of 20-04-2023 - 18:38)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:M/Au:N/C:C/I:C/A:C
refmap via4
bid 105748
exploit-db 45715
gentoo GLSA-201810-10
misc https://github.com/systemd/systemd/pull/10517/commits
ubuntu USN-3816-1
Last major update 20-04-2023 - 18:38
Published 26-10-2018 - 14:29
Last modified 20-04-2023 - 18:38
Back to Top