Z-WASP Vulnerability Used to Phish Office 365 and ATP
Office 365 email processing failed to recognise URLs containing zero-width space characters, so URL reputation checks and Safe Links were not applied. An attacker could send a phishing email with such a link that reached the inbox and led recipients to a credential-harvesting site.
avanan.com
Published on avanan.com
In November, our security analysts uncovered a phishing method taking advantage of a vulnerability in Office 365 to bypass all of Microsoft's security. The vulnerability left all Office 365 users vulnerable, regardless of if they were using ATP or not.
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 email security parser did not normalise or strip zero-width characters before extracting and checking URLs, so the obfuscated URL was not recognised as a link.
Impact
Phishing emails could bypass Office 365 URL reputation and Safe Links, potentially leading recipients to credential-harvesting sites; the text says the method was attempted on over 90% of Avanan's Office 365 customers.
What the attacker needed
Office 365 email account; attacker sends email with obfuscated URL; victim clicks the link
The fix
The vulnerability was remediated by Microsoft as of January 9, 2019.
How it was found
- Send an email to an Office 365 inbox containing a malicious URL without any zero-width space characters.
- Send the same malicious URL again, this time with zero-width space characters inserted into the URL.
- Observe that the first email is processed by URL reputation and Safe Links, while the second is not.
- The recipient sees a normal-looking URL and clicks it, landing on a credential-harvesting phishing site.
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.
Zero-width spaces are invisible characters that take up no space when displayed. In this case, inserting them into a web address made Microsoft's email security think the link was not a real URL, so it skipped its normal checks. The email still looked normal to the person receiving it, and clicking the link took them to a fake login page.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.