Skip to content
Misconfiguration Write-up Intermediate

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.

Tencent's Xuanwu Lab Follow

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.

Tencent's Xuanwu Lab, on xlab.tencent.com

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

  1. Find a Unicode character whose glyph resembles a Latin letter in Apple products.
  2. Register a domain name using that character, since it falls under the Latin script allowed by the registrar.
  3. Obtain an SSL certificate for the domain to make it look legitimate.
  4. 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.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.