Privilege escalation and a certificate-validation flaw allow cross-account database access (Azure PostgreSQL "ExtraReplica", 2022)
Researchers exploited a bug in Azure's modified PostgreSQL engine to gain superuser privileges and run operating-system commands on their own database instance.
What happened
- A flaw in certificate validation let them forge a client certificate matching another customer's instance and access other customers' databases across accounts.Wiz Research discovers "ExtraReplica": a cross-account database vulnerability in Azure PostgreSQL
The failure pattern
Watch the pattern: Cross-tenant access through a caller-controlled identifier
Safeguards that address it
CollectSEA's engineering analysis of what would have prevented or contained this failure.
- Validate tenant identity with strict, anchored certificate checksMatch the full identity of a client certificate rather than a loosely matched pattern, and fuzz identity parsing.
- Isolate tenant containers from host networkingGive each tenant workload its own network namespace and do not grant superuser to customer-controlled roles.
Related standards
CollectSEA's mapping through this incident's failure pattern; not an official determination by the standards bodies.
- ASI03 Identity and Privilege Abuse
- LLM03 Excessive Agency
- AC-3 Access Enforcement
- AC-4 Information Flow Enforcement
- AC-5 Separation of Duties
- AC-6 Least Privilege
- RV.3.4 Update the development process
- MAP 5.1 Estimate impacts from past uses and public incident reports
- Goal 3 Reducing entire classes of vulnerability
- CWE-862 Missing Authorization
- CWE-639 Authorization Bypass Through User-Controlled Key
Building something similar?
Describe your design and see every precedent that applies, with safeguards you can hand to your coding agent.
Incidents with the same pattern
Non-secret app ID lets anyone register for private apps built on the Base44 AI app builder (2025)
By supplying only an application's non-secret app_id to undocumented registration and email-verification endpoints, an attacker could create a verified account on private applications built with Base44.
Default password and an IDOR in McDonald's AI hiring chatbot platform expose data on 64 million applicants (2025)
McHire, the chatbot recruiting platform used by most McDonald's franchisees, lets applicants chat with a bot named Olivia, built by Paradox.ai, that collects personal information.
Missing access checks in a document portal expose over 800 million First American images (2019)
Sequential integer URLs in imaging web portal lacked object-level authorization checks; exposed 885 million escrow and wire documents.
Hippoo Mobile App for WooCommerce WordPress plugin issue could allow unauthorized access
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Missing Authorization via the wc-hippoo/v1/ext/wp/v2/settings REST endpoint in all versions up to, and including, 1.13.0.
Appointment Booking Plugin WordPress plugin issue could allow unauthorized access
The Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 5.7.10.
PerfreeBlog issue could allow unauthorized access
A flaw has been found in PerfreeBlog up to 4.0.11. This affects an unknown part of the file CodegenController.java of the component Codegen Module. This manipulation causes missing authorization.