Frequently reported URL spoof bugs in Chromium
Public chromium.org document
Original Author: Matt Giuca <mgiuca@chromium.org>
Last updated: 2019-06-25
This doc lists URL spoof bugs on Chrome that are commonly reported, that we either haven’t fixed yet, are working as intended, or are recurring issues. It suggests crbugs to dupe against or people to assign.
People
- creis@chromium.org is the owner for URL spoofing in general (particularly cases where the URL fails to update on navigations).
- meacer@chromium.org should be assigned letter spoofing bugs (like Unicode confusables). jshin@chromium.org doesn’t work in this area anymore, but used to own these bugs and is available for answering questions.
- cthomp@chromium.org should be assigned RTL spoofs (like URLs that flip around the domain and path due to RTL characters). mgiuca@chromium.org doesn't work in this area anymore, but used to own these bugs.
- markdavis@google.com wrote a lot of the Unicode standard and is involved in spoofing issues on Chrome.
- jdonnelly@chromium.org is the TL for Omnibox.
Security-sensitive surfaces
See this document (Googlers only, sorry) for a full treatment on this.
The security team has specified the following URL surfaces “security-sensitive”:
- Omnibox when committed (not focused)
- Permissions management surfaces (permissions dialogs, site settings, etc.)
- Page info (on Android)
URL spoofs in these surfaces should be considered medium-severity security bugs.
This does not include:
- Suggestions dropdown from Omnibox (due to open redirects)
- Omnibox when editing
- Status bubble
Tools
- url-unicode-render (Google internal) script for printing diagnostic info about a URL (by mgiuca@chromium.org).
- Unicode Bidi Utility (by Unicode consortium).
- format_url binary for converting a large number of domain names to unicode (Chromium source).
Bug descriptions
Homoglyph and near-homoglyph spoofs
- All letters replaced with exact-same-looking letters in another script.
- E.g., “ѕсоре” (all letters are Cyrillic)
- Dupe against https://crbug.com/683314 (Cyrillic) or https://crbug.com/722167 (other scripts).
- Note: mgiuca@ likes to call these “cross-script confusables” to distinguish from the other type of whole-script confusable below.
- Resolution: Partially fixed. Cyrillic domains that look like Latin are blocked on Latin TLDs. Other cases will be handled case-by-case.
- A letter that looks exactly the same as another letter in the same script.
- E.g., “scᴏpe” (the ‘ᴏ’ is a “Latin letter small capital O”).
- Note: Officially this is a sub-class of “whole-script confusable” (confusing terminology).
- Dupe against https://crbug.com/722167.
- Resolution: No overall resolution but should be rare enough to individually ban.
- All letters in e.g. Latin, with one letter from another script that looks identical to Latin.
- E.g., “appⵏe.com” (all Latin except ‘ⵏ’ which is Tifinagh).
- E.g. “googleㄧcom.com” (ㄧ is Bopomofo Letter I (U+3127))
- Near-homoglyph same-script.
- A letter that looks similar to another letter in the same script, but visually distinct.
- E.g., “gṃail.com”, “asĸ.com”, “manħattan.edu” (all Latin)
- Non-Latin example: “مرﮏز” versus “مركز”
- Dupe against https://crbug.com/864244.
- Resolution: We can’t fully solve this because these letters are allowed in domains. However we do restrict domains that are similar to top 10k domains.
- As of Chrome 75, we also show a full page interstitial if the user recently visited the canonical site.
- Near-homoglyph cross-script
- Whole-script confusable with one or more letters looking similar to the intended letter, but visually distinct.
- E.g., “ӏіпкеԁіп.com” (all Cyrillic)
- Dupe against https://crbug.com/714628 (Cyrillic) (or keep new bugs open for a different script other than Cyrillic and assign to meacer@).
- Resolution: See “Near-homoglyph same-script”.
- Invisible and near-invisible characters
- Inserting invisible (e.g., non-breaking space) and small, hard-to-spot characters (e.g., ‘ʼ’) into a domain.
- E.g., “ʼgmail.com”.
- Dupe against: https://crbug.com/729845
- Resolution: None yet.
- Confusable characters mixed with numbers
- A letter that looks similar to another letter used next to a number.
- E.g., "7ͼ.com" (ͼ is Greek Small Dotted Lunate Sigma)
- These are mainly spoofs of top 10K domains.
- Dupe against: https://crbug.com/902974
Omnibox eliding/clipping spoofs
- Bugs involving a long URL having important parts (such as domain) cut off.
- E.g., https://crbug.com/705778.
- Should be reported to Omnibox team. Usually platform-specific (there are three Omniboxes: Views on Windows/Linux/Chrome OS/Mac, Android and iOS).
Right-to-left (RTL) character spoofs
- General problem with RTL substrings reversing URL component order.
- E.g., “a.ב/ג/d” -- the ‘ב’ is part of the domain but renders after the slash.
- Dupe against: https://crbug.com/351639.
- Special sub-case (if it ends with an IP address): https://crbug.com/638818.
- Resolution: None so far. This is strongly undesirable but “correct” according to both URL specs. Ongoing work to address this.
- First strong character is RTL causes the entire URL to flip around.
- E.g., “example.org/ا/127.0.0.1” — the domain is 127.0.0.1 but the whole URL is flipped.
- Generally these bugs take the form: “http://<ip-address>/<rtl-characters>/<ascii-domain-name>”.
- Original report: https://crbug.com/495933. Do not dupe; this is a legitimate bug and should be assigned to cthomp@chromium.org or Omnibox team.
- Resolution: Known instances of this bug are fixed but seem to keep cropping up. Needs to be individually fixed for all URL surfaces.
- In some cases (e.g., where the URL is part of plain text, such as in the Omnibox when entering text that might be a search query), this is working as intended. Can be closed WontFix if sure, or assign to cthomp@ to check. Example of where this is working as intended.
- Long URL with RTL characters has domain off-screen.
- E.g., “רע.קום/000...000/aaa...aaa” — the domain is רע.קום but it can be placed off-screen since it isn’t the left-most component of the URL.
- Original bug: https://crbug.com/656417. Do not dupe; file a new one.
- Resolution: Should be fixed on all platforms, but might crop up in other contexts, and needs individual fixing.