Azure API Management Flaw Led to Credential Theft

Azure API Flaw Exploited to Steal Secrets from Energy Firms

CRITICAL
November 26, 2026
5m read
VulnerabilityCloud SecurityData Breach

Related Entities

Organizations

Microsoft Norway's National Security Authority (NSM)

Other

EquinorSkagerak Energi

Full Report

Executive Summary

Microsoft has disclosed and patched a significant vulnerability in its Azure API Management (APIM) service that was actively exploited by threat actors. The flaw, affecting APIM Classic tier instances, allowed unauthorized access to management functionality, enabling attackers to steal stored credentials and secrets. Microsoft detected the activity on November 18, 2026, and remediated the issue the next day. However, attackers had already targeted multiple organizations, including the Norwegian energy companies Equinor and Skagerak Energi. As the stolen secrets remain valid, Microsoft and Norway's National Security Authority (NSM) are urging all affected customers to assume compromise and immediately rotate all keys, tokens, and secrets stored within the service.

Vulnerability Details

The vulnerability, tracked internally by Microsoft as MZK9-GH0, resided in the management functionality of the APIM Classic tiers (Developer, Basic, Standard, and Premium). It did not affect the newer v2 tiers. The flaw was particularly risky for customers who were not following security best practices, such as isolating their APIM instances within a virtual network or using Azure Key Vault to manage secrets externally.

Successful exploitation allowed an attacker to access sensitive data stored directly within the APIM instance, including:

  • Named values (configuration secrets)
  • Identity-provider and OpenID Connect client secrets
  • API subscription keys
  • Direct management API tokens

This access provided attackers with a trove of credentials that could be used for lateral movement and further compromise of cloud resources.

Technical Analysis

The exact technical mechanism of the vulnerability has not been disclosed by Microsoft. However, based on the description, it appears to be a flaw in the authentication or authorization logic of the APIM management plane. This allowed an unauthenticated or low-privileged attacker to escalate privileges and access administrative functions, a form of T1190 - Exploit Public-Facing Application.

An unknown threat actor was observed actively exploiting this flaw. Their methodology likely involved:

  1. Reconnaissance: Identifying vulnerable, publicly accessible APIM Classic instances (T1595.002 - Active Scanning: Vulnerability Scanning).
  2. Exploitation: Using the MZK9-GH0 vulnerability to gain unauthorized access to the APIM management plane.
  3. Credential Access: Querying the APIM service to dump all stored secrets, including API keys, tokens, and other credentials (T1552.005 - Unsecured Credentials: Cloud Instance Metadata API).
  4. Lateral Movement: Using the stolen credentials to access other Azure services and resources tied to the compromised APIM instance (T1078.004 - Valid Accounts: Cloud Accounts).

The attack specifically targeted organizations in the energy sector, indicating a potential focus on critical infrastructure.

Impact Assessment

The impact of this vulnerability is severe for affected customers, as it leads to the compromise of a central component of their cloud application architecture.

  • Credential Compromise: The primary impact is the theft of a wide range of secrets. These credentials could grant attackers access to backend databases, third-party services, and other critical components of the customers' applications.
  • Supply Chain Risk: If the compromised APIM instance serves APIs used by partners or customers, the stolen subscription keys could be used to abuse those APIs, creating a cascading supply chain risk.
  • Regulatory and Financial Impact: For the targeted energy firms and other organizations, this constitutes a major data breach. They face regulatory scrutiny, particularly in Europe under GDPR, and significant costs for remediation, auditing, and potential fines. The fact that critical infrastructure was targeted raises national security concerns.

Microsoft's patch fixed the access vector, but it cannot invalidate the credentials that were already stolen. This means customer action is mandatory to mitigate the risk.

IOCs — Directly from Articles

No specific Indicators of Compromise (IOCs) such as attacker IP addresses or domains were mentioned in the source articles.

Cyber Observables — Hunting Hints

Security teams managing Azure environments should hunt for signs of APIM compromise:

Type
log_source
Value
Azure Activity Logs for API Management
Description
Look for Get Secret, List Secrets, or other sensitive read operations from unfamiliar IP addresses or occurring at unusual times.
Type
api_endpoint
Value
management.azure.com
Description
Audit all calls to the Azure management API related to your APIM instance for any unauthorized activity.
Type
other
Value
Anomalous usage of API subscription keys
Description
Monitor for a sudden spike in traffic or unusual usage patterns for API keys managed by APIM, which could indicate their compromise.
Type
log_source
Value
Azure Key Vault Logs
Description
If using Key Vault, look for anomalous access patterns. If not, this incident highlights the need to migrate secrets to Key Vault.

Detection & Response

Since the vulnerability is patched, the focus is on detecting and responding to the use of stolen credentials.

  1. Audit Logs: As recommended by Microsoft and the NSM, organizations must immediately audit their Azure Activity Logs for any suspicious read operations on their APIM instances around the incident timeframe (November 18-19, 2026). This is a direct application of D3FEND's Cloud API Monitoring.
  2. Threat Intelligence: Monitor for the use of any stolen credentials. Services like Microsoft Defender for Cloud can help detect anomalous sign-ins or API calls using compromised keys.
  3. Assume Compromise: The core of the response is to follow the principle of "assume compromise" and rotate all secrets that were stored in the affected APIM instances.

Mitigation

Customer action is required to fully mitigate the risk from this incident.

  1. Rotate All Secrets: This is the most critical and immediate action. All named values, client secrets, API subscription keys, and tokens stored in the affected APIM Classic instances must be invalidated and re-issued. This is a form of Authentication Cache Invalidation (D3-ANCI).
  2. Migrate to Azure Key Vault: As a strategic improvement, migrate all secrets out of APIM and store them in Azure Key Vault. APIM can then be configured to retrieve secrets from Key Vault at runtime, which provides better security, auditing, and centralized management.
  3. Network Isolation: Where possible, configure APIM instances to be accessible only from within a virtual network (VNet), not directly from the public internet. This significantly reduces the attack surface. This aligns with D3FEND's Network Isolation (D3-NI).
  4. Upgrade to v2 Tiers: Consider planning a migration from the legacy Classic tiers to the newer v2 tiers of APIM, which were not affected by this vulnerability and offer improved security features.

Timeline of Events

1
November 18, 2026
Microsoft identifies unauthorized access to Azure API Management classic tiers.
2
November 19, 2026
Microsoft closes the access path for the vulnerability.
3
November 26, 2026
This article was published

MITRE ATT&CK Mitigations

Store secrets in a dedicated, secure vault like Azure Key Vault instead of directly within application configurations.

Isolate cloud management services within a virtual network to reduce the public attack surface.

Migrate from legacy service tiers to modern, more secure versions when available.

Timeline of Events

1
November 18, 2026

Microsoft identifies unauthorized access to Azure API Management classic tiers.

2
November 19, 2026

Microsoft closes the access path for the vulnerability.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

AzureMicrosoftCloud SecurityVulnerabilityData BreachAPI SecurityEquinor

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

⚡ Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.