Microsoft Identity Linux Broker Remote Code Execution Vulnerability (CVE-2023-36736)
A vulnerability existed in Microsoft Identity Linux Broker, the component that lets Linux devices join an Azure AD environment for bring-your-own-device support. An attacker who sends a malicious file and convinces a user to open it could execute code locally, but only with the privileges the user already had.
Originally disclosed on Microsoft
FAQ
How is the protection from this vulnerability applied? Microsoft Identity Linux Broker allows users with a Linux device support for bring your own device (BYOD) in an Azure AD environment. To be protected from this vulnerability you need to run the following command on the ubuntu machines: $ sudo apt update && sudo apt upgrade -y This will pull and update the released packages. You can find the packages here: Ubuntu 20.04 : Index of /ubuntu/20.04/prod/pool/main/m/microsoft-identity-broker Ubuntu 22.04: Index of /ubuntu/22.04/prod/pool/main/m/microsoft-identity-broker
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker must send the user a malicious file and convince them to open it.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
FAQ
According to the CVSS metric, Confidentiality, and Integrity are Low (CI:L). What does that mean for this vulnerability? An attacker is only able to compromise files that they were allowed access to as part of their initial privilege. Any encrypted data will still be protected since the attacker doesn't have access to the Device Broker encryption key as part of this vulnerability.
Microsoft Identity Linux Broker
Microsoft Identity Linux Broker
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
Root cause
Likely unsafe handling of a file opened by the user in Microsoft Identity Linux Broker, allowing code to run with the user's existing privileges.
Impact
An attacker could run code locally and compromise files the user already had access to, but encrypted data stays protected because the attacker does not get the Device Broker encryption key.
What the attacker needed
Linux device with the broker installed; Victim opens a malicious file
The fix
It was fixed by updating the Microsoft Identity Broker packages on Ubuntu 20.04 and 22.04.
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.
This is a flaw in a Microsoft program that runs on Linux computers and helps them sign in to a company's Azure AD system. To trigger it, someone has to trick a user into opening a harmful file on their own machine. The attacker then runs code, but only with the same permissions that user already had, so they cannot reach encrypted data or the special encryption key.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.