Wide Impact: Highly Effective Gmail Phishing Technique Being Exploited
A phishing technique uses a data URI to display a fake Gmail login page while the browser's address bar shows a trusted hostname, tricking users into entering credentials. Attackers can steal passwords and then access the victim's email and other accounts.
wordfence.com
Published on wordfence.com
As you know, at Wordfence we occasionally send out alerts about security issues outside of the WordPress universe that are urgent and have a wide impact on our customers and readers. Unfortunately this is one of those alerts.
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
Root cause
Likely the browser displays the data URI and the embedded trusted hostname in the same colour and style, so users perceive the whole address as trustworthy.
Impact
Attackers could steal Gmail credentials, access all emails, and potentially compromise other services via password resets; two-factor authentication may not protect against this attack, according to discussion.
What the attacker needed
Victim uses Gmail; victim clicks an image in an email; victim enters credentials on the fake page
The fix
Chrome 56 was released and now shows a 'Not Secure' message for data URLs, which should help users realise they should not trust forms presented via a data URL.
How it was found
- The attacker sends an email to the victim's Gmail account, possibly from a compromised contact, containing an image that looks like an attachment.
- The victim clicks the image, expecting a preview, and a new tab opens showing a Gmail sign-in prompt.
- The victim glances at the address bar and sees 'accounts.google.com'.
- The victim signs in on the fake page, which sends the credentials to the attacker.
- The attacker logs in immediately and uses the victim's actual attachments and subject lines to send further phishing emails to contacts.
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.
A data URI lets a web page be embedded directly in a link, so the address bar can show a long string starting with 'data:text/html' followed by a fake login page. Because the address bar also contains the real Gmail address, users may think they are on the genuine site and enter their password. The attacker then receives the password and can log in to the victim's account.