Azure Functions Elevation of Privilege Vulnerability (CVE-2020-16904)
Azure Functions did not properly validate access keys, so an unauthenticated attacker could invoke an HTTP-triggered function without authorisation. The update fixes the validation of those keys.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in the way Azure Functions validate access keys. An unauthenticated attacker who successfully exploited this vulnerability could invoke an HTTP Function without proper authorization. This security update addresses the vulnerability by correctly validating access keys used to access HTTP Functions.
FAQ
How do I get the Azure Functions update? Re-start your Azure Functions app to get the latest version with the security update.
Azure
Azure
Issuing CNA
Microsoft
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 the access-key validation logic for HTTP-triggered functions was incorrect, allowing requests with invalid or missing keys to be accepted.
Impact
An unauthenticated attacker could invoke an HTTP Function without proper authorisation, potentially running code or logic they should not be able to reach.
What the attacker needed
Azure Functions app with HTTP trigger; no authentication needed
The fix
The vulnerability was fixed by correctly validating access keys; users should restart their Azure Functions app to receive the update.
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 Functions are small pieces of code that run in the cloud and can be triggered by a web request. Normally you need a secret access key to call one. Here the key check was flawed, so someone without a key could still run the function.
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.