Norway says an Azure API Management flaw was used to target stored secrets and tokens
Norway's NSM says an unknown actor exploited a now-closed Azure API Management vulnerability to go after access tokens, secrets and named values, hitting Equinor and Skagerak Energi. Microsoft says exposed Classic instances could have leaked identity provider client secrets, subscription keys and management tokens. Rotate everything APIM stores.
Norway's National Security Authority (NSM) said on November 20 that an unknown actor exploited a now-closed vulnerability in Azure API Management (APIM) to target access tokens, secrets and named values, and named energy companies Equinor and Skagerak Energi among those affected (NSM). NSM tells APIM users to assume every secret and named value is compromised, rotate them all, and check a gateway's RuntimeVersion at /internal-status-0123456789abcdef: 0.52.x is patched from 31936 and 0.53.x from 31938. In a nonpublic advisory seen by The Register, Microsoft says it identified the issue on November 18 and mitigated it automatically the next day. Exposed Classic-tier instances could have leaked named values, client secrets for identity and OpenID Connect providers, subscription keys and direct management API tokens. Microsoft says APIM v2 is not affected, and attackers also ran admin operations.
Why it matters
An API gateway holds the credentials it uses to call every backend behind it, so a secret read from APIM works directly against those services. Researcher Anders Kristiansen points out that the legacy direct Management API authenticates with a SharedAccessSignature signed by the instance's tenant access key rather than Entra ID, and its calls do not appear in the ARM Activity log.
Patching closes the hole but does not invalidate what was taken. Rotate backend credentials, app registration client secrets, subscription keys, referenced Azure Key Vault secrets and tenant access keys. Set Enable Management REST API to No, prune APIM users and who can edit policies or use tracing, and hunt Microsoft Entra service principal sign-ins for apps whose secrets lived in the gateway.
Source: NSM, The Register, Anders Kristiansen
Related on Start with Identity
- BlogOne actor signed in as Entra ID apps with stolen secrets and reached 27 organizations, Todyl says
Todyl is tracking an ongoing campaign in which one operator uses stolen client secrets to sign in to Microsoft Entra ID as app registrations, reaching 27 organi
- BlogPoisoned Microsoft Agent Framework releases on PyPI tried to mint Azure and GitHub identity tokens
Malicious agent-framework 1.26.1 and 1.26.2 were published to PyPI on November 17 and quarantined within about 40 minutes. A startup hook harvested credential f
- BlogRackspace Spot intruder used leaked credentials to read customer Kubernetes secrets
Rackspace says an unauthorized party used leaked credentials on November 17 to act as legitimate users in some Rackspace Spot organizations, create pods, read K
- CVEtj-actions/changed-files tags repointed to dump CI secrets into logs
An attacker repointed tj-actions/changed-files version tags to a commit that read the GitHub Actions runner's memory and printed its secrets into workflow logs.
- CVETrivy release and GitHub Action tags hijacked to steal CI secrets
With credentials left valid by a non-atomic rotation, an attacker shipped a malicious Trivy v0.69.4 and repointed 76 of 77 trivy-action tags to code that dumped
- CVECommvault Web Server zero-day that exposed Metallic Microsoft 365 app secrets
An authenticated webshell flaw in Commvault Web Server, used as a zero-day in Commvault's Azure environment, where the actor may have reached client secrets cus