ID CVE-2019-0816
Summary A security feature bypass exists in Azure SSH Keypairs, due to a change in the provisioning logic for some Linux images that use cloud-init, aka 'Azure SSH Keypairs Security Feature Bypass Vulnerability'.
References
Vulnerable Configurations
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:microsoft:azure:-:*:*:*:*:*:*:*
    cpe:2.3:o:microsoft:azure:-:*:*:*:*:*:*:*
CVSS
Base: 1.9 (as of 24-08-2020 - 17:37)
Impact:
Exploitability:
CWE CWE-706
CAPEC
  • Create files with the same name as files protected with a higher classification
    An attacker exploits file location algorithms in an operating system or application by creating a file with the same name as a protected or privileged file. The attacker could manipulate the system if the attacker-created file is trusted by the operating system or an application component that attempts to load the original file. Applications often load or include external files, such as libraries or configuration files. These files should be protected against malicious manipulation. However, if the application only uses the name of the file when locating it, an attacker may be able to create a file with the same name and place it in a directory that the application will search before the directory with the legitimate file is searched. Because the attackers' file is discovered first, it would be used by the target application. This attack can be extremely destructive if the referenced file is executable and/or is granted special privileges based solely on having a particular name.
  • Redirect Access to Libraries
    An adversary exploits a weakness in the way an application searches for external libraries to manipulate the execution flow to point to an adversary supplied library or code base. This pattern of attack allows the adversary to compromise the application or server via the execution of unauthorized code. An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. If an adversary can redirect an application's attempts to access these libraries to other libraries that the adversary supplies, the adversary will be able to force the targeted application to execute arbitrary code. This is especially dangerous if the targeted application has enhanced privileges. Access can be redirected through a number of techniques, including the use of symbolic links, search path modification, and relative path manipulation.
  • DLL Side-Loading
    An adversary places a malicious version of a Dynamic-Link Library (DLL) in the Windows Side-by-Side (WinSxS) directory to trick the operating system into loading this malicious DLL instead of a legitimate DLL. Programs specify the location of the DLLs to load via the use of WinSxS manifests or DLL redirection and if they aren't used then Windows searches in a predefined set of directories to locate the file. If the applications improperly specify a required DLL or WinSxS manifests aren't explicit about the characteristics of the DLL to be loaded, they can be vulnerable to side-loading.
  • Passing Local Filenames to Functions That Expect a URL
    This attack relies on client side code to access local files and resources instead of URLs. When the client browser is expecting a URL string, but instead receives a request for a local file, that execution is likely to occur in the browser process space with the browser's authority to local files. The attacker can send the results of this request to the local files out to a site that they control. This attack may be used to steal sensitive authentication data (either local or remote), or to gain system profile information to launch further attacks.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:L/AC:M/Au:N/C:N/I:P/A:N
redhat via4
advisories
bugzilla
id 1680165
title CVE-2019-0816 cloud-init: extra ssh keys added to authorized_keys on the Azure platform
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 7 is installed
      oval oval:com.redhat.rhba:tst:20150364027
    • comment cloud-init is earlier than 0:18.2-1.el7_6.2
      oval oval:com.redhat.rhsa:tst:20190597001
    • comment cloud-init is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20190597002
rhsa
id RHSA-2019:0597
released 2019-03-18
severity Moderate
title RHSA-2019:0597: cloud-init security update (Moderate)
rpms cloud-init-0:18.2-1.el7_6.2
refmap via4
confirm https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0816
suse openSUSE-SU-2019:2633
Last major update 24-08-2020 - 17:37
Published 09-04-2019 - 03:29
Back to Top