Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1007: Insufficient Visual Distinction of Homoglyphs Presented to User

Base Incomplete

The product displays information or identifiers to a user, but the display mechanism does not make it easy for the user to distinguish between visually similar or identical glyphs (homoglyphs), which may cause the user to misinterpret a glyph and perform an unintended, insecure action.

More detail

Adversaries can exploit this visual similarity for attacks such as phishing, e.g. by providing a link to an attacker-controlled hostname that looks like a hostname that the victim trusts. In a different use of homoglyphs, an adversary may create a back door username that is visually similar to the username of a regular user, which then makes it more difficult for a system administrator to detect the malicious username while reviewing logs.

How to prevent it (2 mitigations)
  1. Implementation

    Use a browser that displays Punycode for IDNs in the URL and status bars, or which color code various scripts in URLs.

    Due to the prominence of homoglyph attacks, several browsers now help safeguard against this attack via the use of Punycode. For example, Mozilla Firefox and Google Chrome will display IDNs as Punycode if top-level domains do not restrict which characters can be used in domain names or if labels mix scripts for different languages.

  2. Implementation

    Use an email client that has strict filters and prevents messages that mix character sets to end up in a user's inbox.

    Certain email clients such as Google's GMail prevent the use of non-Latin characters in email addresses or in links contained within emails. This helps prevent homoglyph attacks by flagging these emails and redirecting them to a user's spam folder.

Source: MITRE CWE-1007

0 results · Clear filters · Feed

Nothing found.