CVE-2012-1174 Race condition in n/a

Low 3.3 Published Updated

Local users can delete arbitrary files via a symlink race condition during logout in the systemd-logind login manager.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-1174?

CVE-2012-1174 is a low-severity vulnerability in n/a, published on 12 Jul 2012. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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."

Weakness: CWE-362

Which versions are affected by CVE-2012-1174?

It affects 1 product.

Linux distribution packages (1)
systemd-ui openSUSE:TumbleweedAll versions3-1.8

Products include Linux Systemd.

How do I fix CVE-2012-1174?

Upgrade to a fixed version.

Is CVE-2012-1174 being exploited?

There is no known exploitation of CVE-2012-1174 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-1174, GHSA-mmfm-j35m-wr8v, openSUSE-SU-2024:10112-1.

Is CVE-2012-1174 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free