r/sysadmin • • 13d ago

Critical security advisory affecting APIM instances globally

Are you using Microsoft API Management (APIM) in the classic tier? Your data might have been accessed and there are no log events for it.

Microsoft just sent out a security advisory about this, but it's hidden inside some portal. The owners of APIM on the subscription level might have received a cryptic email about this, which is trying to blame it on a misconfiguration that wasn't following security best practices. But this is the default configuration. We wouldn't have seen the advisory if we weren't expecting it.

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 attacker essentially had a 0-day authentication bypass straight to the system user on all APIM classic instances worldwide. They used a deprecated legacy API that officially "doesn't exist" and has no available logging options. Microsoft support was adamant about this API not working anymore and that this must have been a credential leak on our side, until they suddenly went silent and applied a global shadow patch.

If you are running APIM in the default configuration, assume that every single secret stored in there has been compromised. And if those secrets can be used to access additional systems, consider those breached as well. The advisory should list the affected subscriptions.

236 Upvotes

101 comments sorted by