CVE-2012-1174
What it is
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."
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 3.3 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-362 · Race condition
- Record status
- Modified
Affected
- Linux Systemd 43
Attack profile CVSS 2.0 · 3.3
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-1174.md and follow it. Check whether this project is affected by CVE-2012-1174. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82
References
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079075.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:030
- http://www.openwall.com/lists/oss-security/2012/03/16/21
- https://bugzilla.redhat.com/show_bug.cgi?id=803358
- http://cgit.freedesktop.org/systemd/systemd/commit/?id=5ebff5337594d690b322078c512eb222d34aaa82
- http://lists.fedoraproject.org/pipermail/package-announce/2012-April/079075.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:030
- http://www.openwall.com/lists/oss-security/2012/03/16/21
- https://bugzilla.redhat.com/show_bug.cgi?id=803358