Bug 1308871 - cloud-init: Following symlinks for ssh authorized_keys
Summary: cloud-init: Following symlinks for ssh authorized_keys
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1308874 1308875
Blocks: 1308877
TreeView+ depends on / blocked
 
Reported: 2016-02-16 10:30 UTC by Adam Mariš
Modified: 2019-09-29 13:44 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 04:31:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-02-16 10:30:17 UTC
It was found that SSH key handling code follows symlinks, allowing malicious user to create symlink from ~/.ssh pointing to arbitrary place.

CVE request:

http://seclists.org/oss-sec/2016/q1/336

Comment 1 Adam Mariš 2016-02-16 10:37:56 UTC
Created cloud-init tracking bugs for this issue:

Affects: fedora-all [bug 1308874]
Affects: epel-all [bug 1308875]

Comment 2 Dhiru Kholia 2016-06-02 04:31:57 UTC
There is no realistic attack vector here (the bug report assumes that an unprivileged user can write to a different user's directories). Hence closing the bug.


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