CWEweakness
CWE-204 Observable Response Discrepancy
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Languages
- Go, Not Language-Specific
- CWE version
- 5.0
Description
The product provides different responses to incoming requests in a way that reveals internal state information to an unauthorized actor outside of the intended control sphere.
Common consequences
• Confidentiality, Access Control: Read Application Data, Bypass Protection Mechanism
Potential mitigations
• [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
• [Implementation] Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.
If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.
Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.
Observed examples
• CVE-2002-2094: This, and others, use ".." attacks and monitor error responses, so there is overlap with directory traversal.
• CVE-2001-1483: Enumeration of valid usernames based on inconsistent responses
• CVE-2001-1528: Account number enumeration via inconsistent responses.
• CVE-2004-2150: User enumeration via discrepancies in error messages.
• CVE-2005-1650: User enumeration via discrepancies in error messages.
• CVE-2004-0294: Bulletin Board displays different error messages when a user exists or not, which makes it easier for remote attackers to identify valid users and conduct a brute force password guessing attack.
• CVE-2004-0243: Operating System, when direct remote login is disabled, displays a different message if the password is correct, which allows remote attackers to guess the password via brute force methods.
• CVE-2002-0514: Product allows remote attackers to determine if a port is being filtered because the response packet TTL is different than the default TTL.
• CVE-2002-0515: Product sets a different TTL when a port is being filtered than when it is not being filtered, which allows remote attackers to identify filtered ports by comparing TTLs.
• CVE-2001-1387: Product may generate different responses than specified by the administrator, possibly leading to an information leak.
• CVE-2004-0778: Version control system allows remote attackers to determine the existence of arbitrary files and directories via the -X command for an alternate history file, which causes different error messages to be returned.
• CVE-2004-1428: FTP server generates an error message if the user name does not exist instead of prompting for a password, which allows remote attackers to determine valid usernames.
Related
Attack pattern · CAPEC (4)
Observed example · CVE (12)
- CVE-2005-1650 The web mail service in Woppoware PostMaster 4.2.2 (build 3.2.5) generates different error messages depending on whether a user exists or… vulnerability
- CVE-2004-1428 ArGoSoft FTP before 1.4.2.1 generates an error message if the user name does not exist instead of prompting for a password, which allows… vulnerability
- CVE-2004-2150 Nettica Corporation INTELLIPEER Email Server 1.01 displays different error messages for valid and invalid account names, which allows… vulnerability
- CVE-2004-0243 AIX 4.3.3 through AIX 5.1, when direct remote login is disabled, displays a different message if the password is correct, which allows… vulnerability
- CVE-2004-0294 YaBB 1 SP 1.3.1 displays different error messages when a user exists or not, which makes it easier for remote attackers to identify valid… vulnerability
- CVE-2004-0778 CVS 1.11.x before 1.11.17, and 1.12.x before 1.12.9, allows remote attackers to determine the existence of arbitrary files and directories… vulnerability
- CVE-2002-2094 Joe Testa hellbent 01 allows remote attackers to determine the full path of the web root directory via a GET request with a relative path… vulnerability
- CVE-2002-0514 PF in OpenBSD 3.0 with the return-rst rule sets the TTL to 128 in the RST packet, which allows remote attackers to determine if a port is… vulnerability
- CVE-2002-0515 IPFilter 3.4.25 and earlier sets a different TTL when a port is being filtered than when it is not being filtered, which allows remote… vulnerability
- CVE-2001-1483 One-Time Passwords In Everything (a.k.a OPIE) 2.32 and 2.4 allows remote attackers to determine the existence of user accounts by printing… vulnerability
- CVE-2001-1528 AmTote International homebet program returns different error messages when invalid account numbers and PIN codes are provided, which allows… vulnerability
- CVE-2001-1387 iptables-save in iptables before 1.2.4 records the "--reject-with icmp-host-prohibited" rule as "--reject-with tcp-reset," which causes… vulnerability
Child of · CWE (1)
- CWE-203 Observable Discrepancy weakness
Referenced by CAPEC · weakness (4)
Referenced by CVE · weakness (209)
- CVE-2026-100164 Observable response discrepancy vulnerability in Rolantis Information Technologies Tourism Industry and Trade Co. vulnerability
- CVE-2026-49442 Cacti is an open source performance and fault management framework. vulnerability
- CVE-2024-7478 When a WSO2 product is configured to use an external user store, the system fails to adequately obscure the existence or validity of… vulnerability
- CVE-2026-111056 FOSSBilling is an open source billing and client-management platform. vulnerability
- CVE-2026-111887 phpMyFAQ before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains an account enumeration vulnerability that allows unauthenticated attackers… vulnerability
- CVE-2026-105664 The endpoint exposes an observable response discrepancy when processing ID values. vulnerability
- CVE-2026-111386 Nezha from 1.7.0 before 2.3.15 contains an information disclosure vulnerability that allows authenticated members to enumerate other… vulnerability
- CVE-2026-14177 Observable response discrepancy vulnerability in IKAS Technology Inc. vulnerability
- CVE-2026-111235 An authorization bypass vulnerability exists in the REST API of multiple versions of OpenNMS Meridian and Horizon. vulnerability
- CVE-2026-110310 A remote user who can read encrypted objects in the S3 bucket can force a padding downgrade by altering the padding scheme recorded in an… vulnerability
- CVE-2026-103526 In Thelia v2.6.0, both the administrative login and forgotten password endpoints return different responses for invalid usernames and… vulnerability
- CVE-2026-109206 LogicalDOC Community Edition through 9.3 contains a username enumeration vulnerability that allows unauthenticated attackers to identify… vulnerability
- CVE-2026-107843 Contao is an Open Source CMS. vulnerability
- CVE-2026-59785 Host search in Frontend allows filtering by fields that are not displayed, including stored IPMI and PSK credentials. vulnerability
- CVE-2026-104439 YesWiki before 4.6.7 contains a user enumeration vulnerability in LostPasswordAction.php that allows unauthenticated attackers to confirm… vulnerability
- CVE-2026-82043 UTMStack before 11.2.16 contains an account enumeration vulnerability that allows unauthenticated attackers to determine registered email… vulnerability
- CVE-2026-102587 A flaw was found in Moodle. vulnerability
- CVE-2026-86778 Observable response discrepancy vulnerability in Maksisoft Technology, IT, and Software Industry and Trade Inc. vulnerability
- CVE-2026-71458 URLModificationMiddleware resolves named-URL lookups against unfiltered Model.objects before RBAC. vulnerability
- CVE-2026-71462 StringListPathField.to_internal_value() calls os.path.exists() on unbounded user-supplied paths. vulnerability
- CVE-2026-84717 A flaw was found in the Ansible Automation Platform automation-controller. vulnerability
- CVE-2026-89173 Smart Video Intercom System developed by Kingdom Communication Associated has a Sensitive Data Exposure vulnerability. vulnerability
- CVE-2026-9161 Observable response discrepancy vulnerability in DernekPlus Website Template allows Account Footprinting. vulnerability
- CVE-2026-86758 Snipe-IT before 8.7.0 fails to properly enforce the viewKeys authorization gate in CSV export and API index endpoints, allowing… vulnerability
- CVE-2026-19080 Observable response discrepancy vulnerability in Menulux Software Inc. vulnerability
- CVE-2026-19205 Observable response discrepancy vulnerability in GastroMenum GastroMenum Web Panel allows Account Footprinting. vulnerability
- CVE-2026-78584 Observable Response Discrepancy (CWE-204) in the Kibana Osquery feature can lead to information disclosure via Query System for Information… vulnerability
- CVE-2026-84307 Filament is a collection of full-stack components for accelerated Laravel development. vulnerability
- CVE-2026-81033 Automatisch reveals whether an address is registered through the response to its forgot-password request. vulnerability
- CVE-2026-75575 Rocket.Chat exposes the sendForgotPasswordEmail Meteor method without a DDP rate limit, so an unauthenticated caller may invoke it as often… vulnerability
Referenced by CWE · has member (1)
- CWE-1468 Weaknesses Addressed by the OWASP Golang Secure Coding Practices Guide view
Referenced by OWASP · mapped cwe (1)
- API2:2023 Broken Authentication API Security Top 10 2023