Microsoft Azure File Sync Elevation of Privilege Vulnerability (CVE-2024-21397)
Azure File Sync allowed an attacker to create new files in directories they normally could not access, including SYSTEM directories. The attacker could not read, modify, or delete existing files, but could affect integrity and possibly availability.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment and take additional actions prior to exploitation to prepare the target environment.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker can create new files in directories they do not normally have access to. Those can only be on directories where Azure File Sync is configured, which could include SYSTEM directories. However, the attacker would not gain privileges to read, modify, or delete files.
FAQ
According to the CVSS metrics, successful exploitation of this vulnerability would not impact confidentiality (C:N), but would have a major impact on integrity (I:H) and have less impact on availability (A:L). What does that mean for this vulnerability? An attacker who successfully exploited this vulnerability could affect the integrity because they could create new files in system directories. Confidentiality is not affected by a successful attack, because the attacker cannot modify, delete, or read files. A successful exploitation could have come impact on availability because there could be some interruption to the availability of the file server.
Azure File Sync
Azure File Sync
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 could create new files in restricted directories, including SYSTEM directories, affecting integrity and possibly causing some interruption to file server availability, but could not read, modify, or delete files.
What the attacker needed
Azure File Sync configured; attacker gathers environment information; additional preparation actions
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.
Azure File Sync is a Microsoft service that keeps files on a Windows server in sync with cloud storage. This bug let someone with limited access create new files in folders they should not be able to write to, even system folders. They still could not open, change, or remove existing files.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.