Bypassing Vpn Mfa During A Pentest Via Duo Inline Self Enrollment
A former employee's account still had email access with a weak password, and the VPN's Duo MFA allowed self-enrollment, so the attacker could register their own MFA device and log in. This gave VPN access, leading to domain admin compromise.
Published on infosecwriteups.com
Recently my team and I had an external engagement against an organization, for privacy lets call them example.org, where the main goal was to test and exploit the external perimeter. This organization hosted several public facing websites, including an Outlook Web App portal and a GlobalProtect VPN Portal both of…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
The attacker gained VPN access and then internal network access, eventually finding stored domain admin credentials, leading to full domain takeover.
What the attacker needed
Known username and password; Duo self-enrollment enabled; first login for the user
How it was found
- Gather a list of potential usernames from LinkedIn and public sources.
- Brute-force the Outlook Web App login to find valid credentials.
- Log in to the OWA account and reset the password.
- Use the credentials on the VPN login, which triggers a Duo self-enrollment link.
- Follow the link to enroll a personal phone as an MFA device.
- Log in to the VPN with the new MFA token and download a connection pack.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Multi-factor authentication (MFA) is a second proof of identity, like a code on your phone. If a system lets you set up your own MFA device the first time you log in, an attacker who knows your password can add their own phone and bypass that protection. Here, an old account with a weak password allowed exactly that.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.