Linux virtual machine has password authentication enabled Affecting Compute service in Azure


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    IAM / Secure Login

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls CSA-CCM
  • Snyk ID SNYK-CC-00508
  • credit Snyk Research Team

Description

Password authentication is less resistant to brute force and educated guess attacks than SSH public key authentication.

How to fix?

Set properties.osProfile.linuxConfiguration.disablePasswordAuthentication attribute to true or remove the attribute.