fkie_cve-2012-0871
Vulnerability from fkie_nvd
Published
2014-04-18 14:55
Modified
2025-04-12 10:46
Severity ?
Summary
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
Impacted products
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*",
"matchCriteriaId": "D0F8B5B7-699C-4FEB-BD06-096D221839A9",
"versionEndIncluding": "037",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:1:*:*:*:*:*:*:*",
"matchCriteriaId": "F94D3F3F-896A-462A-A08E-9E96758C7044",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:2:*:*:*:*:*:*:*",
"matchCriteriaId": "CC8D95CE-2009-4554-9940-00D9C3558323",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:3:*:*:*:*:*:*:*",
"matchCriteriaId": "D69D4F3E-C996-4613-933D-CCD60E275F41",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:4:*:*:*:*:*:*:*",
"matchCriteriaId": "FD1E624C-A4BA-48F9-833B-268BCF4CF9C0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:5:*:*:*:*:*:*:*",
"matchCriteriaId": "7C465DE7-15B8-41A1-82A1-FCFC7BC3BAFF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:6:*:*:*:*:*:*:*",
"matchCriteriaId": "40BB0049-1585-419A-96B6-18AE7DFB2481",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:7:*:*:*:*:*:*:*",
"matchCriteriaId": "62854970-1CB8-490C-93D9-73BBA790E972",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:8:*:*:*:*:*:*:*",
"matchCriteriaId": "0306A23C-8A10-4486-B903-7A45B57C7449",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:9:*:*:*:*:*:*:*",
"matchCriteriaId": "4FE1A3BA-B695-436F-906A-4BC3AF73F1CE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:10:*:*:*:*:*:*:*",
"matchCriteriaId": "EA57D859-BC9C-4D6B-A6DA-72EC50C6B8B2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:11:*:*:*:*:*:*:*",
"matchCriteriaId": "E28AE943-31FE-44E2-B605-E2F0CA0864F6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:12:*:*:*:*:*:*:*",
"matchCriteriaId": "4DE37C52-32FD-4847-A2CB-5B886945D99A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:13:*:*:*:*:*:*:*",
"matchCriteriaId": "F3FAFD13-1E57-4F25-BD74-A0848C9C8C6B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:14:*:*:*:*:*:*:*",
"matchCriteriaId": "FE28D3B0-5386-4C19-9EE5-D0900CF17F8B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:15:*:*:*:*:*:*:*",
"matchCriteriaId": "831DE806-EBAA-4B9A-8A6C-DA97562ECEA6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:16:*:*:*:*:*:*:*",
"matchCriteriaId": "9F93B2D0-5D73-4F91-BEA5-9B78FC9275AA",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:17:*:*:*:*:*:*:*",
"matchCriteriaId": "F84734C1-2F2B-4DAA-97F1-A4FD8351912E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:18:*:*:*:*:*:*:*",
"matchCriteriaId": "9896DD5A-165F-42F6-B3E1-170972E95870",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:19:*:*:*:*:*:*:*",
"matchCriteriaId": "66F321BA-39FF-4ECE-A834-E703F1E506B7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:20:*:*:*:*:*:*:*",
"matchCriteriaId": "F1586F77-1E4A-449C-9B5A-ACC53A0EFB53",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:21:*:*:*:*:*:*:*",
"matchCriteriaId": "3890D45B-3EF1-4640-9178-0BE44AF6A351",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:22:*:*:*:*:*:*:*",
"matchCriteriaId": "4B8DA70D-3A30-4284-BDE5-173034217292",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:23:*:*:*:*:*:*:*",
"matchCriteriaId": "421D9E8B-78EC-40A1-B9FF-A97A02C62516",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:24:*:*:*:*:*:*:*",
"matchCriteriaId": "73F57756-778D-4EB0-B0E5-B8B5D92705F6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:25:*:*:*:*:*:*:*",
"matchCriteriaId": "64D83463-13ED-430C-8C40-2237DF0E3643",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:26:*:*:*:*:*:*:*",
"matchCriteriaId": "79AF61C4-416D-451A-AACC-16F58341583F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:27:*:*:*:*:*:*:*",
"matchCriteriaId": "EC4E6FD6-1682-45D8-ABE1-AF3246ED19F7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:28:*:*:*:*:*:*:*",
"matchCriteriaId": "2F122D3A-BA34-47C7-88D6-E6D95336B9C4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:29:*:*:*:*:*:*:*",
"matchCriteriaId": "19083D70-7A2E-4064-9145-1B446732BEC9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:30:*:*:*:*:*:*:*",
"matchCriteriaId": "187847B5-8B9C-43F2-A473-53618ADE5B46",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:31:*:*:*:*:*:*:*",
"matchCriteriaId": "08D20503-7386-4883-9BE6-6393783E5E61",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:32:*:*:*:*:*:*:*",
"matchCriteriaId": "023D79B4-A812-453E-B255-92787C3D2F24",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:33:*:*:*:*:*:*:*",
"matchCriteriaId": "BE7541DE-707D-4D9A-943E-F664B4A8E269",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:34:*:*:*:*:*:*:*",
"matchCriteriaId": "ADB3E996-91FD-43F5-BE5D-860F4BE3E79B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:35:*:*:*:*:*:*:*",
"matchCriteriaId": "57EC044B-6556-4CE2-B3DB-C03D9D9983CB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:systemd_project:systemd:36:*:*:*:*:*:*:*",
"matchCriteriaId": "D59DCAD7-7C82-41A2-89BA-4F05BEC08106",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:*",
"matchCriteriaId": "EBB2C482-D2A4-48B3-ACE7-E1DFDCC409B5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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/."
},
{
"lang": "es",
"value": "La funci\u00f3n session_link_x11_socket en login/logind-session.c en systemd-logind en systemd, posiblemente 37 y anteriores, permite a usuarios locales crear o sobrescribir archivos arbitrarios a trav\u00e9s de un ataque symlink sobre el directorio de usuario X11 en /run/user/."
}
],
"id": "CVE-2012-0871",
"lastModified": "2025-04-12T10:46:40.837",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "MEDIUM",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 6.3,
"confidentialityImpact": "NONE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:L/AC:M/Au:N/C:N/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 3.4,
"impactScore": 9.2,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2014-04-18T14:55:25.227",
"references": [
{
"source": "secalert@redhat.com",
"url": "http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c"
},
{
"source": "secalert@redhat.com",
"url": "http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html"
},
{
"source": "secalert@redhat.com",
"url": "http://www.osvdb.org/79768"
},
{
"source": "secalert@redhat.com",
"url": "https://bugzilla.novell.com/show_bug.cgi?id=747154"
},
{
"source": "secalert@redhat.com",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=795853"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://cgit.freedesktop.org/systemd/systemd/commit/?id=fc3c1c6e091ea16ad5600b145201ec535bbb5d7c"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://lists.opensuse.org/opensuse-security-announce/2012-02/msg00030.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.osvdb.org/79768"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://bugzilla.novell.com/show_bug.cgi?id=747154"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=795853"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-59"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…