hn.today

Azure APIM Compromised

anderskristiansen.com11 points3 comments
Screenshot of Azure APIM Compromised

Norway’s National Security Authority linked attacks on Norwegian companies to a vulnerability in Azure API Management (APIM), where an unknown actor sought access tokens, secrets, and named values. NSM says the vulnerability is closed but advises customers to check their runtime version; the extent of exploitation remains unknown. APIM can hold backend credentials, subscription keys, and identity-provider settings, which attackers could use directly against protected services if the credentials remain valid and have sufficient permissions. Key Vault references do not eliminate exposure if someone can reveal values through policy editing or request tracing. A separate concern is APIM’s retired direct Management API: it may still be enabled, uses a shared-access signature rather than Entra ID, bypasses Azure RBAC, and is not recorded in the ARM Activity log. An old developer portal can also leave unnecessary sign-up and access paths, though no portal involvement has been established in these attacks.

The recommended response is to update APIM, assume its stored secrets may be exposed, and rotate backend credentials, app secrets, subscription keys, referenced Key Vault secrets, and tenant access keys. Remove unnecessary APIM users, restrict policy editing and tracing, disable the legacy Management API, and shut down or tightly restrict the old portal. The investigation plan follows possible activity across APIM configuration, portal accounts, gateway requests, app sign-ins, Key Vault reads, and Microsoft Graph actions. KQL hunts identify suspicious secret-listing operations and configuration changes, portal account-related requests, newly observed subscription identifiers, and tracing requests. These are investigative leads, not proof of compromise; portal logs lack source IPs, Activity logs miss direct Management API calls and ordinary reads, and incomplete or short-retention logs can limit conclusions.

Read on anderskristiansen.com3 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.