National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2012-0871 Detail

Current 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/.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.3 MEDIUM
Vector: (AV:L/AC:M/Au:N/C:N/I:C/A:C) (V2 legend)
Impact Subscore: 9.2
Exploitability Subscore: 3.4


Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): None
Integrity (I): Complete
Availability (A): Complete
Additional Information:
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c
http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html
https://bugzilla.novell.com/show_bug.cgi?id=747154
https://bugzilla.redhat.com/show_bug.cgi?id=795853

Technical Details

Vulnerability Type (View All)

  • Improper Link Resolution Before File Access ('Link Following') (CWE-59)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:lennart_poettering:systemd:001:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:002:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:003:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:004:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:005:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:006:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:007:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:008:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:009:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:010:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:011:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:012:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:013:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:014:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:015:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:016:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:017:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:018:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:019:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:020:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:021:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:022:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:023:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:024:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:025:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:026:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:027:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:028:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:029:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:030:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:031:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:032:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:033:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:034:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:035:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:036:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:lennart_poettering:systemd:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
037
 cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2012-0871
NVD Published Date:
04/18/2014
NVD Last Modified:
10/30/2018