oss-sec mailing list archives

[Notification] CVE-2012-1174 systemd: TOCTOU race condition by removing user session


From: Jan Lieskovsky <jlieskov () redhat com>
Date: Fri, 16 Mar 2012 18:50:04 +0100

Hello vendors,

  this is to inform you about the following flaw in systemd:

A TOCTOU race condition was found in the way the systemd-logind login manager
of the systemd, a system and service manager for Linux, performed removal of
particular records related with user session upon user logout. A local attacker
could use this flaw to conduct symbolic link attacks, potentially leading to
removal of arbitrary system file.

Upstream patch:
[1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82

Red Hat Bugzilla entry:
[2] https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1174

Credit: Issue reported by Michal Schmidt of Red Hat.

Flaw turnaround time: 16 days

Thank you && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Response Team


Current thread: