systemd 'systemd-logind' Insecure File Creation Vulnerability
BID:52230
Info
systemd 'systemd-logind' Insecure File Creation Vulnerability
| Bugtraq ID: | 52230 |
| Class: | Design Error |
| CVE: |
CVE-2012-0871 |
| Remote: | No |
| Local: | Yes |
| Published: | Feb 29 2012 12:00AM |
| Updated: | Apr 13 2015 09:19PM |
| Credit: | Disclosed in the SUSE advisory. |
| Vulnerable: |
systemd systemd 0 |
| Not Vulnerable: | |
Discussion
systemd 'systemd-logind' Insecure File Creation Vulnerability
systemd package is prone to a vulnerability in the 'systemd-logind' daemon because it creates certain files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks with root privileges.
Successfully mounting a symlink attack may allow the attacker to corrupt sensitive files in the context of root user. Other attacks may also be possible.
systemd package is prone to a vulnerability in the 'systemd-logind' daemon because it creates certain files in an insecure manner.
An attacker with local access could potentially exploit this issue to perform symbolic-link attacks with root privileges.
Successfully mounting a symlink attack may allow the attacker to corrupt sensitive files in the context of root user. Other attacks may also be possible.
Exploit / POC
systemd 'systemd-logind' Insecure File Creation Vulnerability
An attacker can use readily available commands to exploit this issue.
An attacker can use readily available commands to exploit this issue.
Solution / Fix
systemd 'systemd-logind' Insecure File Creation Vulnerability
Solution:
Updates are available. Please see the references for more information.
Solution:
Updates are available. Please see the references for more information.
References
systemd 'systemd-logind' Insecure File Creation Vulnerability
References:
References:
- systemd Package (freedesktop.org)