Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-8899298F-5A92-11EB-8558-3085A9A47796: cloud-init -- Wrong access permissions of authorized keys

Back to Search

FreeBSD: VID-8899298F-5A92-11EB-8558-3085A9A47796: cloud-init -- Wrong access permissions of authorized keys

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
01/14/2021
Created
01/22/2021
Added
01/20/2021
Modified
01/20/2021

Description

cloud-init reports:

cloud-init release 20.4.1 is now available. This is a hotfix

release, that contains a single patch to address a security issue in

cloud-init 20.4.

Briefly, for users who provide more than one unique SSH key to

cloud-init and have a shared AuthorizedKeysFile configured in

sshd_config, cloud-init 20.4 started writing all of these keys to such a

file, granting all such keys SSH access as root.

It's worth restating this implication: if you are using the default

AuthorizedKeysFile setting in /etc/ssh/sshd_config, as most will be,

then you are _not_ affected by this issue.

Solution(s)

  • freebsd-upgrade-package-cloud-init

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;