Skip to content
Access control Advisory Advanced CVE-2024-43613

Azure Database for PostgreSQL Flexible Server Extension Elevation of Privilege Vulnerability (CVE-2024-43613)

An administrator-level user of an Azure Database for PostgreSQL Flexible Server could send a specially crafted request to escalate to SuperUser privileges when a specific non-default feature is enabled. The attacker would gain the same privileges as the SuperUser role.

Martin Wrona Follow

Originally disclosed on Microsoft

High 7.2 View original

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploits this vulnerability would gain the same privileges as the SuperUser role.

FAQ

How could an attacker exploit this vulnerability? An attacker with the administrator role of "azure_pg_admin" in the target environment could exploit this vulnerability to gain the same privileges as a SuperUser by sending a specially crafted request to an Azure Database for PostgreSQL Flexible Server with specific non-default functionality enabled.

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires the attacker to have administrator privileges on the target system.

Azure Database for PostgreSQL

Azure Database for PostgreSQL

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Martin Wrona (martin_jw) with Digitec Galaxus AG. 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 a missing privilege check in a non-default server extension allowed an administrator role to perform actions reserved for the SuperUser role.

Impact

An attacker who already holds the azure_pg_admin role could gain SuperUser privileges, but only on servers where the specific non-default functionality is enabled.

What the attacker needed

Administrator role azure_pg_admin; non-default functionality enabled

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.

A database has different levels of permission. An administrator can manage many things but is not supposed to be the all-powerful 'SuperUser'. This flaw let someone who already had administrator rights send a crafted request and become the SuperUser, which is the highest level.

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 by Martin Wrona

View all

7 more disclosed reports, best first.

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.