Bug 1344022 (CVE-2016-3100) - CVE-2016-3100 kde: world readable Xauthority file exposes cookie credentials
Summary: CVE-2016-3100 kde: world readable Xauthority file exposes cookie credentials
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2016-3100
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1312060
TreeView+ depends on / blocked
 
Reported: 2016-06-08 14:27 UTC by Adam Mariš
Modified: 2021-02-17 03:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-08 14:28:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-06-08 14:27:15 UTC
It was found that kdeinit5 creates /tmp/xauth-xxx-_y with inappropriate permission, which are 644 instead of 600. This can be exploited by stealing X11 cookie and running X11 keylogger. Malicious user is able to read key strokes of a different user which might be a sudo user. If attacker can log key events of a sudo user then it can lead to local privilege escalation.

Upstream bugs:

https://bugs.kde.org/show_bug.cgi?id=358593
https://bugs.kde.org/show_bug.cgi?id=363140

Upstream patches:

https://quickgit.kde.org/?p=kinit.git&a=commitdiff&h=dece8fd89979cd1a86c03bcaceef6e9221e8d8cd
https://quickgit.kde.org/?p=kinit.git&a=commitdiff&h=72f3702dbe6cf15c06dc13da2c99c864e9022a58

Comment 1 Adam Mariš 2016-06-08 14:27:26 UTC
Acknowledgments:

Name: Stephan Mueller (Atsec)

Comment 2 Adam Mariš 2016-06-22 07:31:17 UTC
External References:

https://www.kde.org/info/security/advisory-20160621-1.txt


Note You need to log in before you can comment on or make changes to this bug.