User Interface (UI) Misrepresentation of Critical Information

Draft Class
Structure: Simple
Description

This vulnerability occurs when a user interface fails to accurately display or highlight crucial information, potentially misleading users about the true state of the system or the source of data. Attackers exploit this weakness to trick users into performing unintended actions, often as part of phishing campaigns or other deception-based attacks.

Extended Description

When an application's UI misrepresents critical data—whether by showing incorrect information, obscuring it, or spoofing its origin—it breaks the user's trust in the interface. This can lead directly to security failures, such as users approving dangerous transactions, downloading malicious files, or ignoring genuine security alerts because they appear untrustworthy. Essentially, if the user cannot rely on what they see, they become vulnerable to manipulation. Common attack methods include overlaying fake elements over legitimate ones (clickjacking), manipulating file icons to hide dangerous extensions, exploiting race conditions to show false status indicators, or using visual tricks like character homographs in URLs. Developers must treat the UI as a critical security layer, ensuring it consistently and clearly communicates the true system state, source of information, and potential risks without ambiguity or omission.

Common Consequences 1
Scope: Non-RepudiationAccess Control

Impact: Hide ActivitiesBypass Protection Mechanism

Potential Mitigations 2
Phase: Implementation

Strategy: Input Validation

Perform data validation (e.g. syntax, length, etc.) before interpreting the data.
Phase: Architecture and Design

Strategy: Output Encoding

Create a strategy for presenting information, and plan for how to display unusual characters.
Observed Examples 26
CVE-2004-2227Web browser's filename selection dialog only shows the beginning portion of long filenames, which can trick users into launching executables with dangerous extensions.
CVE-2001-0398Attachment with many spaces in filename bypasses "dangerous content" warning and uses different icon. Likely resultant.
CVE-2001-0643Misrepresentation and equivalence issue.
CVE-2005-0593Lock spoofing from several different weaknesses.
CVE-2004-1104Incorrect indicator: web browser can be tricked into presenting the wrong URL
CVE-2005-0143Incorrect indicator: Lock icon displayed when an insecure page loads a binary file loaded from a trusted site.
CVE-2005-0144Incorrect indicator: Secure "lock" icon is presented for one channel, while an insecure page is being simultaneously loaded in another channel.
CVE-2004-0761Incorrect indicator: Certain redirect sequences cause security lock icon to appear in web browser, even when page is not encrypted.
CVE-2004-2219Incorrect indicator: Spoofing via multi-step attack that causes incorrect information to be displayed in browser address bar.
CVE-2004-0537Overlay: Wide "favorites" icon can overlay and obscure address bar
CVE-2005-2271Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
CVE-2005-2272Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
CVE-2005-2273Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
CVE-2005-2274Visual distinction: Web browsers do not clearly associate a Javascript dialog box with the web page that generated it, allowing spoof of the source of the dialog. "origin validation error" of a sort?
CVE-2001-1410Visual distinction: Browser allows attackers to create chromeless windows and spoof victim's display using unprotected Javascript method.
CVE-2002-0197Visual distinction: Chat client allows remote attackers to spoof encrypted, trusted messages with lines that begin with a special sequence, which makes the message appear legitimate.
CVE-2005-0831Visual distinction: Product allows spoofing names of other users by registering with a username containing hex-encoded characters.
CVE-2003-1025Visual truncation: Special character in URL causes web browser to truncate the user portion of the "user@domain" URL, hiding real domain in the address bar.
CVE-2005-0243Visual truncation: Chat client does not display long filenames in file dialog boxes, allowing dangerous extensions via manipulations including (1) many spaces and (2) multiple file extensions.
CVE-2005-1575Visual truncation: Web browser file download type can be hidden using whitespace.
CVE-2004-2530Visual truncation: Visual truncation in chat client using whitespace to hide dangerous file extension.
CVE-2005-0590Visual truncation: Dialog box in web browser allows user to spoof the hostname via a long "user:pass" sequence in the URL, which appears before the real hostname.
CVE-2004-1451Visual truncation: Null character in URL prevents entire URL from being displayed in web browser.
CVE-2004-2258Miscellaneous -- [step-based attack, GUI] -- Password-protected tab can be bypassed by switching to another tab, then back to original tab.
CVE-2005-1678Miscellaneous -- Dangerous file extensions not displayed.
CVE-2002-0722Miscellaneous -- Web browser allows remote attackers to misrepresent the source of a file in the File Download dialog box.
References 1
Secure Programming for Linux and Unix HOWTO
David Wheeler
03-03-2003
ID: REF-434
Applicable Platforms
Languages:
Not Language-Specific : Undetermined
Modes of Introduction
Architecture and Design
Implementation
Taxonomy Mapping
  • PLOVER
Notes
MaintenanceThis entry should be broken down into more precise entries. See extended description.
Research GapMisrepresentation problems are frequently studied in web browsers, but there are no known efforts for classifying these kinds of problems in terms of the shortcomings of the interface. In addition, many misrepresentation issues are resultant.