ID CVE-2012-1174
Summary The rm_rf_children function in util.c in the systemd-logind login manager in systemd before 44, when logging out, allows local users to delete arbitrary files via a symlink attack on unspecified files, related to "particular records related with user session."
References
Vulnerable Configurations
  • cpe:2.3:o:linux:systemd:43:*:*:*:*:*:*:*
    cpe:2.3:o:linux:systemd:43:*:*:*:*:*:*:*
CVSS
Base: 3.3 (as of 14-08-2012 - 03:35)
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
NONE PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:N/I:P/A:P
refmap via4
confirm http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82
fedora FEDORA-2012-6456
mandriva MDVSA-2012:030
misc https://bugzilla.redhat.com/show_bug.cgi?id=803358
mlist [oss-security] 20120316 [Notification] CVE-2012-1174 systemd: TOCTOU race condition by removing user session
Last major update 14-08-2012 - 03:35
Published 12-07-2012 - 20:55
Last modified 14-08-2012 - 03:35
Back to Top