A critical security flaw in six Microsoft 365 Android applications could have allowed any malicious app installed on a device to steal users' authentication tokens, compromising billions of Microsoft accounts. The vulnerability stemmed from a single debug flag left enabled in production versions of the apps.
The flaw was discovered by security researchers who found that the debug flag, intended for testing purposes, was inadvertently included in the released builds. This caused the apps to log sensitive token data in a way that other apps could access. Microsoft has since released patches for all affected apps.
"This is a stark reminder that even a tiny oversight in code can have massive security repercussions," commented a security expert.
Users are urged to update their Microsoft 365 Android apps immediately to ensure their accounts remain protected.