Authentication Bypass Successfully Impersonated 95 Users Without Passwords or MFA
Testers forged session cookies on a yard-management app and impersonated 95 users without passwords or MFA.
During authorized testing of a yard-management platform, Resecurity found the app signed session cookies with the hardcoded HMAC-SHA256 secret session_secret_example. The cookie payload was the user's public database identifier, so a known ID could be turned into a valid session. Testers impersonated 95 of 241 accounts, including administrators, without passwords, MFA, or valid Microsoft Entra ID tokens. The /api/v1/auth/me endpoint also returned Entra refresh tokens.
- HMAC key was the literal string session_secret_example.
- Forged sessions hit 95 of 241 users, including admins.
- Auth endpoint leaked Microsoft Entra refresh tokens.
- Found in authorized testing, not reported as criminal exploitation.
- Vendors
- Microsoft
- Products
- Microsoft Entra ID
- Organizations
- Resecurity
From the original article
3 min read at gbhackers.com
A critical authentication bypass that enabled the impersonation of 95 employee accounts, including privileged users, without passwords, multi-factor authentication (MFA), or valid Microsoft Entra ID tokens. The issue stemmed from two flaws in the application’s custom session-cookie implementation: a predictable hard-coded signing secret and the use of public database identifiers as authenticated session payloads.
By Mayura Kathir · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.