Azure Arc Jumpstart Information Disclosure Vulnerability (CVE-2022-35798)
A log file produced by the Azure Arc Jumpstart custom script extension contained a service principal credential secret. An attacker who already had a login on the client virtual machine could read the log and obtain that credential.
Originally disclosed on Microsoft
FAQ
What is the nature of this vulnerability? An information disclosure vulnerability exists in Azure Arc Jumpstart that could allow an authenticated user to view certain credentials and other sensitive information contained in a log file. What are the circumstances leading to a successful exploitation? The client virtual machine is protected behind a secured Azure virtual network (VNET) without access from the internet. A potential attacker would first have to compromise the VNET to have network access to the Azure client virtual machine (Azure Arc Jumpstart-Client). There is only one provisioned user on the client virtual machine, and this user’s credentials are protected by a username and password provided by the end-user at deployment time. There are no other “low level” users that have login access to the virtual machine. The only user credential with access to the VM is the one created and supplied by the original Azure Arc Jumpstart end-user. A potential attacker would first need to gain access to a user login credentials and only then open a remote desktop session (RDP) into the virtual machine. What information can be disclosed and what is the impact? The type of information that could be disclosed is information stored in the logs, which could include credentials as well as other sensitive information for the system Was any personal information or sensitive customer data exposed as a result of this vulnerability? The primary use-case for Azure Arc Jumpstart is to provide an automated training and demo environment intended to be used in sandbox Azure subscriptions. ArcBox does not disclose any personal information or sensitive customer data. In the context of disclosed vulnerability, no customer data were compromised. How can I protect myself from this vulnerability? The Azure Arc Jumpstart service principal credential secret has been removed from the log output of the custom script extension and this fix is now live for all Jumpstart scenarios. If you are an existing user, Microsoft recommends rolling your service principal credential secret. If you are new to Azure Arc Jumpstart, there are no actions necessary. When was the fix for this vulnerability implemented? The removal of the service principal credential secret from the log was completed on 5/26/2022. Where can I find more information about Azure Arc Jumpstart? Please see Announcing Jumpstart ArcBox 2.0 for more information.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). What does this mean for this vulnerability? The attacker would already need to be logged into the target Azure Arc Jumpstart client virtual machine to be able to discover the information.
FAQ
According to the CVSS metric, successful exploitation of this vulnerability could lead to some loss of confidentiality (C:L)? What does that mean for this vulnerability? Successfully exploiting this vulnerability allows an attacker to get access to the information stored in the logs. The disclosed information is scoped to the specific system and does not provide the attacker with any additional privileges.
FAQ
According to the CVSS metric, privileges required is low (PR:L). What privileges are required? The attacker would have to be present on the Azure Arc Jumpstart virtual machine as a regular user to be able to exploit this vulnerability.
Azure Arc Jumpstart
Azure Arc Jumpstart
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker already logged in as a regular user could read credentials and other sensitive information from the logs, though the disclosure is scoped to that system and grants no extra privileges.
What the attacker needed
Network access to the VNET; valid login on the client VM; RDP session to the VM
The fix
The service principal credential secret was removed from the custom script extension log output, and existing users were advised to roll the secret.
How it was found
- Gain access to the secured Azure virtual network that holds the client virtual machine
- Obtain the login credentials of the provisioned user on the client virtual machine
- Open a remote desktop session into the virtual machine
- Read the log file to find the disclosed credentials and sensitive information
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A service principal is an identity used by software to log in to a cloud service, and its secret is like a password. Here that password was written into a log file on a virtual machine, so anyone who could already log in to the machine could read it. The attacker still needed a valid login and network access to the machine first.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.