0:00
–:––
React at 0:00
Black Hat USA 2025

Azure's Weakest Link? How API Connections Spill Secrets

When and where

Day
Wed 6 Aug 2025
Time
14:30 to 15:00 PDT
Room
South Pacific F, Level 0 - North Convention Center

Speaker

  • Haakon GulbrandsrudBinary Security

    Haakon Gulbrandsrud is currently a security consultant working for Binary Security in Oslo, focusing mostly on WebApps and backend security. He has a strong background in Cybersecurity, with expertise in analyzing and securing applications and operating systems. His experience includes working at the Norwegian National Defense Research Establishment (FFI), where he conducted in-depth security assessments. Additionally, his background as a mathematician has equipped him with the skills to analyze and understand complex systems effectively.

Abstract

Azure API Connections serve as the backbone for integrating Logic Apps, Power Apps, and Power Automate with external systems. However, these connections can be exploited to gain near unrestricted access to connected APIs, with minimal privileges and even cross-tenant. This talk will demonstrate the lacking state of Azure security and how a huge hidden infrastructure can be understood and exploited. By taking you through the many layers of ARM (Azure Resource Management), APIM (API Management), Custom Connectors, consent servers and token stores, I will show how I managed to execute a cross-tenant Key Vault secrets leak. On the way there, a myriad of exploitable resources will be found, letting us inject into databases, publish issues on your Jira, exfiltrate your Salesforce data and even send some mail. From an interesting JSON reply, to being able to read Key Vaults as a low-privileged user to cross-tenant capabilities was a long journey, and I will take you through how it was achieved.

What you'll get from it

Logic Apps, Power Apps and Power Automate reach outside systems through Azure API Connections, and Haakon Gulbrandsrud found these can hand a low-privileged user near unrestricted access to the APIs behind them, even across tenants. He walks through the layers involved, from ARM and APIM to Custom Connectors, consent servers and token stores, on the way to leaking Key Vault secrets from another tenant. Along the route come smaller wins such as database injection, Jira issues and Salesforce data. Azure defenders and cloud pentesters will want to see where the trust breaks.

Did you find what you came for?