Incident sheet · Security & Risk
- System
- Security & Risk
- Filed
- Read
- 3 min · 644 words
- Severity
- Routine
Azure APIM flaw may have exposed Have I Been Pwned API keys
Microsoft closed an exploited Azure APIM flaw on November 19, but stolen credentials weren't cancelled. HIBP warned API key holders; NSM named Equinor and Skagerak Energi among victims.
Have I Been Pwned told subscribers with active API keys on November's news that those keys may have leaked through a flaw in Microsoft's Azure API Management — and Microsoft's fix, deployed a day after discovery, left any credentials already stolen fully working.
That's the detail enterprise teams should sit with. Microsoft found the vulnerability in APIM's Classic tiers on November 18 and closed the access path on November 19, but the fix did not cancel any credentials taken before then. Subscription keys, backend credentials and management tokens were all listed as material that may have been accessed.
Troy Hunt, founder of the Gold Coast-based breach notification service, confirmed to iTnews that the warning email to customers was genuine, not a phishing attempt. HIBP couldn't confirm whether its keys were affected, but concluded it was possible.
What does this change for API key holders?
For HIBP subscribers, the decision to rotate sits with them. Hunt chose not to force a key change because it would break customers' integrations. So far, he said, HIBP has received no reports of unusual key activity.
His worst-case assessment is measured. "The absolute worst-case scenario I could conceive of is being able to run a domain-wide search that exposes already breached email addresses that you can check one by one from the front page anyway," Hunt said.
But he flagged the wider exposure. "I'm sure there are many companies out there using APIM for much more serious use cases that are likely impacted."
Who else got hit?
Norway's National Security Authority (NSM) named energy companies Equinor and Skagerak Energi among the organisations hit through the flaw, and said other sectors in Norway and abroad were affected too. Both companies say they have no indication any data was stolen.
NSM's director of operational cyber security, Martin Albert-Hoff, said it's still unclear how extensive the exploitation of the vulnerability is.
For context on what's at risk: Azure APIM is a managed gateway that sits in front of an organisation's APIs, handling authentication, rate limiting and the subscription keys customers use to call those APIs. HIBP has used it since 2019 to issue API keys and cap each subscriber's query volume. Gateways also often hold credentials for the backend systems behind them.
Why the private advisory annoyed customers
Microsoft didn't publish a public incident page. It informed customers through private Azure Service Health advisories under tracking ID MZK9-GH0 — an approach Hunt didn't appreciate.
"Microsoft's messaging is infuriatingly vague, and to make matters worse, there's no public incident page from them either," Hunt said.
An updated advisory, which Hunt shared with iTnews, widened the incident's scope in several ways:
- Microsoft's first notice recommended storing secrets in Azure Key Vault; the update said Key Vault secrets may also have been exposed if APIM referred to them.
- The update set out network isolation criteria for deciding whether an instance was protected.
- Basic and Standard tier instances cannot be deployed in a virtual network, so they couldn't have met those criteria.
- The Consumption tier, listed as affected in the first notice, has now been ruled out; APIM v2 tiers were never affected.
Hunt also noted how easy it was to miss. "We nearly missed this altogether amongst the constant emails we get about other Azure-related activities such as retiring various services," he said.
His bottom line on HIBP's own exposure: "My gut feel is that this is a non-event for us, but we couldn't in all good conscience get that message from them and completely ignore it."
Teams running Classic-tier APIM with long-lived keys now face the practical question: rotate and absorb the integration breakage, or accept the residual risk Microsoft's patch left behind.
via itnews.com.au (Source)
More from Olivia Hart
Show full bio
News editor covering money, funding and market shifts around enterprise information technology and the leaders who run at CIO Monitor.
301 articles
The newsroom digest
One email a day with the stories that matter. No noise.
Cross-references
- Azure API Management flaw exposed customer secrets; Norway's energy sector hit
- Apify Rotates API Tokens, Advises 2FA Resets After Internal Breach
- Malicious PyPI versions of Microsoft's Agent Framework stole Azure and CI credentials
- Microsoft 365 outage fuels high-volume phishing campaign
- Microsoft Confirms Entra Connect Health Breach Exposed Tenant Admin Data