Skip to content
Access control Advisory Intermediate CVE-2020-16904

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.

James Hardaker Follow

Originally disclosed on Microsoft

High 5.3 View original

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

The original report as published on the Microsoft Security Response Center, by James Hardaker. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.