CWEweakness

CWE-451 User Interface (UI) Misrepresentation of Critical Information

Official page ↗
Abstraction
Class
Structure
Simple
Status
Draft
Languages
Not Language-Specific
CWE version
5.0

Description

The user interface (UI) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. This is often a component in phishing attacks.

Common consequences

• Non-Repudiation, Access Control: Hide Activities, Bypass Protection Mechanism, Varies by Context — If an attacker can cause the UI to display erroneous data, or to otherwise convince the user to display information that appears to come from a trusted source, then the attacker could trick the user into performing the wrong action. This is often a component in phishing attacks, but other kinds of problems exist. For example, if the UI is used to monitor the security state of a system or network, then omitting or obscuring an important indicator could prevent the user from detecting and reacting to a security-critical event.

Potential mitigations

• [Implementation] Perform data validation (e.g. syntax, length, etc.) before interpreting the data. • [Architecture and Design] Create a strategy for presenting information, and plan for how to display unusual characters.

Observed examples

• CVE-2024-27936: Chain: JavaScript-based application removes ANSI escape sequences in a dialog that asks permission for a particular file, causing the wrong filename to be visually presented for user approval (CWE-451), but the filename still contains the ANSI escape sequences (CWE-150), potentially causing the user to grant access to the wrong file. • CVE-2004-2227: Web 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-0398: Attachment with many spaces in filename bypasses "dangerous content" warning and uses different icon. Likely resultant. • CVE-2001-0643: Misrepresentation and equivalence issue. • CVE-2005-0593: Lock spoofing from several different weaknesses. • CVE-2004-1104: Incorrect indicator: web browser can be tricked into presenting the wrong URL • CVE-2005-0143: Incorrect indicator: Lock icon displayed when an insecure page loads a binary file loaded from a trusted site. • CVE-2005-0144: Incorrect indicator: Secure "lock" icon is presented for one channel, while an insecure page is being simultaneously loaded in another channel. • CVE-2004-0761: Incorrect indicator: Certain redirect sequences cause security lock icon to appear in web browser, even when page is not encrypted. • CVE-2004-2219: Incorrect indicator: Spoofing via multi-step attack that causes incorrect information to be displayed in browser address bar. • CVE-2004-0537: Overlay: Wide "favorites" icon can overlay and obscure address bar • CVE-2005-2271: Visual 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-2272: Visual 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-2273: Visual 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-2274: Visual 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-1410: Visual distinction: Browser allows attackers to create chromeless windows and spoof victim's display using unprotected Javascript method. • CVE-2002-0197: Visual 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-0831: Visual distinction: Product allows spoofing names of other users by registering with a username containing hex-encoded characters. • CVE-2003-1025: Visual 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-0243: Visual 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-1575: Visual truncation: Web browser file download type can be hidden using whitespace. • CVE-2004-2530: Visual truncation: Visual truncation in chat client using whitespace to hide dangerous file extension. • CVE-2005-0590: Visual 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-1451: Visual truncation: Null character in URL prevents entire URL from being displayed in web browser. • CVE-2004-2258: Miscellaneous -- [step-based attack, GUI] -- Password-protected tab can be bypassed by switching to another tab, then back to original tab. • CVE-2005-1678: Miscellaneous -- Dangerous file extensions not displayed. • CVE-2002-0722: Miscellaneous -- Web browser allows remote attackers to misrepresent the source of a file in the File Download dialog box.

Related

Attack pattern · CAPEC (5)

Observed example · CVE (27)

  • CVE-2024-27936 Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. vulnerability
  • CVE-2005-2271 iCab 2.9.8 does not clearly associate a Javascript dialog box with the web page that generated it, which allows remote attackers to spoof a… vulnerability
  • CVE-2005-2272 Safari version 2.0 (412) does not clearly associate a Javascript dialog box with the web page that generated it, which allows remote… vulnerability
  • CVE-2005-2273 Opera 7.x and 8 before 8.01 does not clearly associate a Javascript dialog box with the web page that generated it, which allows remote… vulnerability
  • CVE-2005-2274 Microsoft Internet Explorer 6.0 does not clearly associate a Javascript dialog box with the web page that generated it, which allows remote… vulnerability
  • CVE-2005-1678 Groove Virtual Office before 3.1 build 2338, before 3.1a build 2364, and Groove Workspace before 2.5n build 1871 does not properly display… vulnerability
  • CVE-2005-1575 The file download dialog in Mozilla Firefox 0.10.1 and 1.0 for Windows allows remote attackers to hide the real file types of downloaded… vulnerability
  • CVE-2005-0144 Firefox before 1.0 and Mozilla before 1.7.5 display the secure site lock icon when a view-source: URL references a secure SSL site while an… vulnerability
  • CVE-2005-0590 The installation confirmation dialog in Firefox before 1.0.1, Thunderbird before 1.0.1, and Mozilla before 1.7.6 allows remote attackers to… vulnerability
  • CVE-2005-0831 PHP-Post allows remote attackers to spoof the names of other users by registering with a username containing hex-encoded characters. vulnerability
  • CVE-2005-0143 Firefox before 1.0 and Mozilla before 1.7.5 display the SSL lock icon when an insecure page loads a binary file from a trusted site, which… vulnerability
  • CVE-2005-0593 Firefox before 1.0.1 and Mozilla before 1.7.6 allows remote attackers to spoof the SSL "secure site" lock icon via (1) a web site that does… vulnerability
  • CVE-2005-0243 Yahoo! vulnerability
  • CVE-2004-1104 Microsoft Internet Explorer 6.0 SP2 allows remote attackers to spoof a legitimate URL in the status bar and conduct a phishing attack via a… vulnerability
  • CVE-2004-1451 Mozilla before 1.6 does not display the entire URL in the status bar when a link contains %00, which could allow remote attackers to trick… vulnerability
  • CVE-2004-2219 Microsoft Internet Explorer 6 allows remote attackers to spoof the address bar to facilitate phishing attacks via Javascript that uses an… vulnerability
  • CVE-2004-2227 Mozilla Firefox before 1.0 truncates long filenames in the file download dialog box, which makes it easier for remote attackers to trick… vulnerability
  • CVE-2004-2258 Xconfig in Hummingbird Exceed before 9.0.0.1, when the Screen Definition is password-protected, allows local users to access certain… vulnerability
  • CVE-2004-2530 Visual truncation vulnerability in Gadu-Gadu allows remote attackers to spoof the file extension on transmitted files via a filename with a… vulnerability
  • CVE-2004-0761 Mozilla before 1.7, Firefox before 0.9, and Thunderbird before 0.7, allow remote attackers to use certain redirect sequences to spoof the… vulnerability
  • CVE-2004-0537 Opera 7.50 and earlier allows remote web sites to provide a "Shortcut Icon" (favicon) that is wider than expected, which could allow the… vulnerability
  • CVE-2003-1025 Internet Explorer 5.01 through 6 SP1 allows remote attackers to spoof the domain of a URL via a "%01" character before an @ sign in the… vulnerability
  • CVE-2001-1410 Internet Explorer 6 and earlier allows remote attackers to create chromeless windows using the Javascript window.createPopup method, which… vulnerability
  • CVE-2002-0722 Microsoft Internet Explorer 5.01, 5.5, and 6.0 allows remote attackers to misrepresent the source of a file in the File Download dialogue… vulnerability
  • CVE-2002-0197 psyBNC 2.3 beta and earlier allows remote attackers to spoof encrypted, trusted messages by sending lines that begin with the "[B]"… vulnerability
  • CVE-2001-0643 Internet Explorer 5.5 does not display the Class ID (CLSID) when it is at the end of the file name, which could allow attackers to trick… vulnerability
  • CVE-2001-0398 The BAT! vulnerability

Child of · CWE (2)

  • CWE-221 Information Loss or Omission weakness
  • CWE-684 Incorrect Provision of Specified Functionality weakness

Peer of · CWE (1)

  • CWE-346 Origin Validation Error weakness

Referenced by CAPEC · weakness (5)

Referenced by CVE · weakness (433)

  • CVE-2026-116631 A malicious web page could open a tel link in a window that was showing a different website, causing the phone-call prompt to appear as if… vulnerability
  • CVE-2026-116632 A malicious web page could insert arbitrary text into the FaceTime call prompt shown by iOS, potentialy allowing it to display a phishing… vulnerability
  • CVE-2026-109434 Fenrir Sleipnir Browser for Android before 3.9.0 contains a UI spoofing vulnerability that allows remote attackers to impersonate the… vulnerability
  • CVE-2026-109736 Frame poisoning in the Layout component. vulnerability
  • CVE-2026-109747 Other issue in the Address Bar component. vulnerability
  • CVE-2026-109346 better-auth from 1.3.8-beta.3 before 1.7.0-rc.3 contains a UI misrepresentation vulnerability in the deviceAuthorization plugin because GET… vulnerability
  • CVE-2026-106179 UI misrepresentation in WebAppInstalls in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a crafted… vulnerability
  • CVE-2026-106182 UI misrepresentation in Paint in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a crafted HTML… vulnerability
  • CVE-2026-106209 UI misrepresentation in Mobile in Google Chrome on on iOS prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to… vulnerability
  • CVE-2026-106229 UI misrepresentation in FileSystem in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to… vulnerability
  • CVE-2026-106232 UI misrepresentation in Browser in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof UI… vulnerability
  • CVE-2026-106236 UI misrepresentation in Chromoting in Google Chrome on on Windows prior to 155.0.8059.39 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-106251 UI misrepresentation in Chromoting in Google Chrome on on Mac prior to 155.0.8059.39 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-106265 UI misrepresentation in File in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof UI… vulnerability
  • CVE-2026-106272 UI misrepresentation in Chromoting in Google Chrome on on Windows prior to 155.0.8059.39 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-106276 UI misrepresentation in Payments in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof… vulnerability
  • CVE-2026-106282 UI misrepresentation in WebOTP in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a crafted HTML… vulnerability
  • CVE-2026-106285 UI misrepresentation in WebAppInstalls in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to… vulnerability
  • CVE-2026-106302 UI misrepresentation in PermissionElement in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering… vulnerability
  • CVE-2026-106305 UI misrepresentation in Mobile in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a… vulnerability
  • CVE-2026-106316 UI misrepresentation in Chromoting in Google Chrome on on Mac prior to 155.0.8059.39 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-106317 UI misrepresentation in FullScreen in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker to spoof address bar via… vulnerability
  • CVE-2026-106337 UI misrepresentation in UI in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a… vulnerability
  • CVE-2026-106338 UI misrepresentation in PictureInPicture in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker to spoof address… vulnerability
  • CVE-2026-106368 UI misrepresentation in UI in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker to spoof UI elements via a… vulnerability
  • CVE-2026-106380 UI misrepresentation in UI in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof UI… vulnerability
  • CVE-2026-105043 MathWorks Simulink before R2026b, when showing a crafted .slx file, can have blocks that are never visible in the Simulink Editor but will… vulnerability
  • CVE-2026-100822 Spoofing issue in the Networking: HTTP component. vulnerability
  • CVE-2026-100823 Spoofing issue in the Downloads component in Firefox for Android. vulnerability
  • CVE-2026-102305 UI misrepresentation in SignIn in Google Chrome on on iOS prior to 154.0.8037.92 allowed a remote attacker to spoof UI elements via a… vulnerability
Show all 433 ›

Referenced by CWE · child of (2)

  • CWE-1007 Insufficient Visual Distinction of Homoglyphs Presented to User weakness
  • CWE-1021 Improper Restriction of Rendered UI Layers or Frames weakness

Referenced by CWE · has member (1)

Referenced by CWE · peer of (1)

  • CWE-356 Missing User Interaction for Potentially Unsafe Action weakness

Referenced by OWASP · mapped cwe (2)