Spoof All Domains Containing ‘d’ in Apple Products [CVE-2018-4277]
Apple products rendered the Unicode character U+A771 without its distinguishing apostrophe, making it look identical to a plain Latin 'd'. An attacker could register a lookalike domain and use it to spoof any domain containing 'd', such as linkedin.com or baidu.com, in Safari and other Apple software.
Published on xlab.tencent.com
During this time I have been researching security issues on the browser front end, and I have found dozens of vulnerabilities in browsers such as Chrome, Safari, and Firefox. Unicode visual security and IDN homograph attack have also been the subject of my research.
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 font rendering in Apple products omitted the apostrophe glyph that should follow U+A771, so the character was visually indistinguishable from a plain 'd'.
Impact
An attacker could spoof any domain containing 'd' in Safari and other Apple products, potentially tricking users into visiting a lookalike site; Chrome, Firefox and Edge were not affected because they show punycode.
What the attacker needed
Apple device with affected OS version; victim uses Safari or affected app; attacker registers lookalike domain
The fix
Apple fixed the glyph rendering in watchOS, iOS, tvOS and macOS updates.
How it was found
- Find a Unicode character whose glyph resembles a Latin letter in Apple products.
- Register a domain name using that character, since it falls under the Latin script allowed by the registrar.
- Obtain an SSL certificate for the domain to make it look legitimate.
- Open the domain in Safari, which displays it without punycode, unlike Chrome, Firefox and Edge.
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.
Some letters from other writing systems look almost the same as ordinary Latin letters. Browsers normally show such a domain in a safe encoded form (punycode) so you can tell it is not the real one. Here Apple's font drew one such letter without a small mark, so it looked exactly like a normal 'd', and Safari showed the fake domain as if it were the real one.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.