CVE-2012-0871

medium

Description

The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/.

References

https://bugzilla.redhat.com/show_bug.cgi?id=795853

https://bugzilla.novell.com/show_bug.cgi?id=747154

http://www.osvdb.org/79768

http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html

http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c

Details

Source: Mitre, NVD

Published: 2014-04-18

Updated: 2025-04-12

Risk Information

CVSS v2

Base Score: 6.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00145