Microsoft Azure API Management Flaw Exploited to Steal API Keys
A patched flaw in Azure API Management Classic let attackers steal stored API credentials, hitting Norwegian energy firms before Microsoft could act.
Key points
- A flaw in Azure API Management Classic tiers let attackers steal credentials including subscription keys and API tokens before Microsoft deployed a patch.
- Norwegian authorities linked the APIM vulnerability to cyberattacks against energy companies Equinor and Skagerak Energi.
- Microsoft patched the flaw automatically but warned that credentials stolen before November 19 would remain valid and required customer action to replace.
- Norway's NSM advised all APIM Classic customers to assume their stored secrets were compromised and rotate all tokens and credentials without waiting for proof of a breach.
Microsoft warned customers this week about an exploited security flaw in Azure API Management. The flaw hit Classic tier instances and let attackers steal stored credentials. Norwegian authorities connected the same vulnerability to cyberattacks targeting energy companies, raising concerns about exposure across critical industries. The advisory applies to any business running Classic tier APIM services, not only large enterprises.
Azure API Management, called APIM, is a cloud service that lets companies publish, monitor, and protect the connections between their apps and data. The flaw was actively used in real attacks before Microsoft could act. Customers on affected tiers need to look for signs of compromise and replace any exposed credentials.
How the Flaw Worked
The vulnerability gave attackers a way into APIM Classic instances without authorization. Once inside, they could perform administrative tasks with full access to stored secrets.
Microsoft linked the exposure to Classic-tier setups that did not meet its network security guidelines. Organizations that kept credentials directly inside APIM, instead of pointing to them from Azure Key Vault, took on extra risk. That configuration gap lowered the bar for an attack.
Stolen credentials can cause damage far beyond the APIM service. Security researcher Anders Kristiansen warned that any attacker with a valid key could reach whatever that credential was set up to access. The scope depended on each key's permissions and whether it was still active.
Which Products Were at Risk
Customers already running v2 did not need to take action. Those on any of the four affected Classic tiers should treat stored credentials as potentially exposed until they can confirm otherwise. Microsoft noted that exposure was most likely where Classic instances were not set up according to its recommended network configurations.
One administrator posted on Reddit that their organization caught suspicious activity by noticing a valid admin token had been used to log into Azure Key Vault. The access did not match normal patterns. BleepingComputer reported that it was unable to independently verify those claims.
Norwegian Energy Companies Among Those Targeted
Attacks were already underway before Microsoft spotted the problem. Norwegian authorities connected the APIM flaw to cyberattacks against energy companies. Norway's National Security Authority, known as NSM, credited Norway's energy sector with first detecting the issue.
Gas giant Equinor disclosed an ongoing attack on November 17, one day before Microsoft says it found the flaw. Equinor later said it halted the attack and found no sign that data had been taken or changed.
Hydropower company Skagerak Energi reported a separate intrusion attempt. The company said the attack had no effect on its operations and that no evidence pointed to any information being taken.
NSM confirmed the problem spread beyond the energy industry. "The vulnerability affects several sectors in Norway and also beyond Norway's borders," the agency said in its advisory. The authority commended Equinor for detecting the issue early and sharing information quickly with other organizations. NSM also noted that growing adoption of artificial intelligence was raising the chance of further exploitation, as more actors would try to use newly discovered gaps.
Microsoft Deployed a Fix, but Stolen Credentials Remain Active
Microsoft said it identified the security issue on November 18 and deployed a mitigation on November 19. The patch blocked the access route attackers had been using. Customers on Microsoft-hosted instances did not need to install anything.
But the fix had a clear limit. Microsoft warned that any credentials copied before the patch arrived would remain valid and usable. A stolen key could still open doors to connected services.
Microsoft said it rotated its own keys where it had direct control. Customer-managed credentials were a different matter. Only the customer could replace those. The company confirmed the patch was fully deployed to all Microsoft-hosted APIM instances.
Norway's NSM continued urging organizations to check their instance runtime version against published patch thresholds. Microsoft did not publicly explain why NSM was still recommending manual checks after saying no customer action was needed.
What Microsoft and Norwegian Authorities Advise
Microsoft urged customers to rotate any credentials that may have been exposed. It also told them to review activity logs for any sign of unauthorized access and to investigate suspicious behavior in any connected systems.
NSM issued broader guidance. The agency told organizations using APIM to assume their stored secrets had been compromised. It advised them to rotate all tokens and credentials without waiting for confirmation of a breach. NSM also recommended mapping every resource reachable through each APIM instance to understand how far an attacker could have gone.
NSM warned that some instances running older software versions might still be at risk. It told customers to compare their runtime version against NSM's published patch thresholds. Any organization that had not received the fix was told to contact its service provider.
Security researcher Kristiansen published threat-hunting queries to help teams look for signs of exploitation and find credentials stored in their APIM instances. Customers warned The Register that old development and test environments could leave more organizations exposed than they realize.
A Second Azure Breach the Same Week
This incident came just days after Microsoft confirmed a separate security event. In that case, attackers exploited a flaw in the Entra Connect Health service to steal tenant configuration details and administrator email addresses.
Both events involved attackers reaching sensitive data through cloud service vulnerabilities. The timing drew attention from security teams tracking recent activity across Microsoft's platform. Microsoft did not say publicly whether the two incidents were connected. NSM said it was working closely with national and international partners on the ongoing situation.
NSM warned that the situation remained active. "Rapid escalation in the use of artificial intelligence is affecting the situation," the agency said, noting this created continued risk for businesses. It said that once a vulnerability becomes public, more actors will move to exploit it. NSM advised organizations to treat dormant APIM instances, including old test or development environments, as a priority in any security review.
Sources
More from the network
Junious Media Network ↗Hailee Steinfeld Returns as Kate Bishop in Avengers: Doomsday
Marvel Studios and Disney Animation confirmed Hailee Steinfeld will return as Kate Bishop in Avengers: Doomsday, opening in theaters Dec. 18, 2026.
junidaily.media ↗Vets Warn That Swallowed Objects Can Kill Pets and Zoo Animals
Veterinarians warn that swallowed coins, shoes and everyday objects can require surgery or prove fatal for pets and zoo animals, as Fiona the hippo's death shows.
junidaily.media ↗Delta Fixes Outage but Thanksgiving Flight Delays Continue
Delta resolved a baggage automation failure that disrupted roughly half its flights Sunday, but weather could bring more delays during the Thanksgiving travel rush.
junidaily.media ↗"Hunger Games: Sunrise on the Reaping" Opens at No. 1 With $120M Debut
Sunrise on the Reaping debuted at No. 1 with $120 million domestically, more than doubling the last Hunger Games entry and reviving one of Lionsgate's biggest franchises.
junidaily.media ↗