Advisory Details

March 9th, 2022

Microsoft Azure Defender for IoT Password Change Command Injection Local Privilege Escalation Vulnerability

ZDI-22-495
ZDI-CAN-15761

CVE ID CVE-2022-23265
CVSS SCORE 4.2, AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
AFFECTED VENDORS Microsoft
AFFECTED PRODUCTS Azure Defender for IoT
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Azure Defender for IoT. An attacker must first obtain the ability to execute code as the www-data user on the target system in order to exploit this vulnerability.

The specific flaw exists within the password change mechanism. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

ADDITIONAL DETAILS Microsoft has issued an update to correct this vulnerability. More details can be found at:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-23265
DISCLOSURE TIMELINE
  • 2021-12-10 - Vulnerability reported to vendor
  • 2022-03-09 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES