Incident sheet · /security

Filed
Read
4 min · 732 words
Severity
Routine

Azure API Management flaw exposed customer secrets; Norway's energy sector hit

Microsoft says attackers stole API credentials from Azure API Management Classic tiers before a November 19 fix. Norway's NSM links the flaw to attacks on Equinor and Skagerak Energi.

Microsoft Azure flaw exploited to steal customers' API credentials
FeedMicrosoft Azure flaw exploited to steal customers' API credentials — No-longer-here / pixabay

Event log

  1. Microsoft identified the Azure APIM Classic vulnerability on November 18 and deployed a mitigation on November 19.
  2. Exposed data includes Named Values secrets, identity provider client secrets, OpenID Connect secrets, subscription keys and direct management API tokens.
  3. Norway's Equinor disclosed an ongoing cyberattack on November 17, one day before Microsoft's discovery.
  4. Microsoft's fix does not automatically invalidate credentials stolen before deployment.
  5. NSM warns APIM instances below specific runtime versions remain vulnerable.

Microsoft has confirmed that attackers exploited a security vulnerability in Azure API Management (APIM) Classic tiers to steal customers' stored API credentials — a flaw Norwegian authorities have linked to attacks on energy companies, including Equinor and Skagerak Energi.

The company identified the vulnerability on November 18 and deployed a mitigation the following day, according to an Azure Service Health security advisory (Tracking ID: MZK9-GH0) shared with BleepingComputer. But the fix came with a catch that every affected customer needs to hear.

"Our investigation found that customers were exposed and an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances before Microsoft identified the security issue," Microsoft said in the advisory.

What exactly was exposed?

Azure API Management is a cloud service organizations use to publish, secure, monitor, and manage the APIs that connect their applications, services, and data. The vulnerability allowed unauthorized access to certain management functionality when APIM Classic instances weren't configured according to recommended security best practices — access that let attackers perform administrative operations, including secrets management.

Microsoft listed what may have been exposed:

  • Secrets stored in Named Values
  • Client secrets associated with identity providers
  • Client secrets associated with OpenID Connect providers
  • Subscription keys
  • Tokens used to call direct management APIs

Depending on their permissions, those credentials could open doors to additional applications, services, or backend systems — a single stolen token potentially becoming a lateral-movement key.

Microsoft closed the unauthorized access path on November 19 and rotated Microsoft-controlled keys where appropriate. APIM v2 tiers are not impacted; only Classic tiers are.

What does this change for affected customers?

Plenty. Microsoft's remediation blocks the management-plane access path, but it does nothing about credentials stolen before the fix went live.

"This remediation blocks the unauthorized management-plane access path that could allow an actor to perform administrative operations, including secrets management, against Azure API Management services," Microsoft warned. "However, it does not automatically invalidate credentials that may have been accessed before the fix was deployed."

Microsoft urged affected customers to immediately rotate potentially exposed credentials, investigate suspicious activity in systems reachable through those credentials, and review logs for signs of unauthorized access.

An admin's account and a quiet legacy API

On Reddit, an administrator described how their organization caught the problem: someone logged into their Azure Key Vaults using a valid administrator token that didn't follow the normal access pattern. "Our company has been fighting this for days, after discovering that someone logged into our keyvaults using a valid administrator token and not following the normal access pattern," the administrator wrote.

The administrator alleged attackers exploited a zero-day authentication bypass in a deprecated legacy API to reach a privileged system account on APIM instances — and that the legacy API generated no logs customers could use to detect the intrusion. They also claimed Microsoft initially attributed the suspicious activity to leaked customer credentials before deploying a global fix. BleepingComputer has not independently verified these allegations.

Norway saw it first

The timeline is telling. Equinor disclosed an ongoing cyberattack on November 17 — a full day before Microsoft says it identified the APIM vulnerability. The company later said it had stopped the attack and found no indication data was stolen or altered. Skagerak Energi reported an attempted attack with no operational impact and no evidence of compromised information.

Norway's National Security Authority (NSM) said an unknown threat actor targeted access tokens, secrets, and named values stored in Azure API Management. The agency noted Norway's energy sector discovered the vulnerability first, and that organizations in other countries and industries were also affected.

NSM's advisory goes further than Microsoft's, warning organizations to verify their APIM instances have actually received the security update. Instances running below specific runtime versions remain vulnerable, and the agency advises customers to contact their service provider if the update hasn't landed. It's unclear whether those runtime updates are separate from Microsoft's initial mitigation.

Cloud security researcher Anders Kristiansen has shared threat-hunting queries to help organizations investigate potential exploitation and identify credentials stored in their APIM instances.

BleepingComputer contacted Microsoft with questions about the attacks but has not yet received a reply.

For now, the message to anyone running APIM Classic is simple: rotate everything, check your runtime version, and don't assume Microsoft's fix closed your doors.

via bleepingcomputer.com (Source)

Filed under

  • azure-api-management
  • api-security
  • credential-rotation
  • secrets-management
  • cloud-security
Share this article:

More from Olivia Hart

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.

238 articles

The newsroom digest

One email a day with the stories that matter. No noise.

By subscribing you agree to the privacy policy.

Cross-references

‹ Previous articleNext article ›