Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-203 (通过差异性导致的信息暴露) — Vulnerability Class 147

147 vulnerabilities classified as CWE-203 (通过差异性导致的信息暴露). AI Chinese analysis included.

CWE-203, Observable Discrepancy, is a design weakness where a system’s behavior or responses vary noticeably based on specific conditions, revealing internal state information to unauthorized actors. Attackers typically exploit this by crafting inputs that trigger distinct error messages, timing delays, or response codes, allowing them to infer sensitive data such as user existence or system architecture through side-channel analysis. To mitigate this risk, developers must ensure consistent error handling and response formatting across all execution paths. This involves standardizing error messages, masking internal details, and implementing uniform response times regardless of the underlying cause. By abstracting internal logic and preventing information leakage through observable differences, organizations can significantly reduce the attack surface, ensuring that external interactions remain opaque and do not inadvertently aid adversaries in reconnaissance or exploitation efforts.

MITRE CWE Description
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.
Common Consequences (2)
Confidentiality, Access ControlRead Application Data, Bypass Protection Mechanism
An attacker can gain access to sensitive information about the system, including authentication information that may allow an attacker to gain access to the system. Other security-relevant information about the operation or internal state of the product may be revealed to an unauthorized actor, such…
ConfidentialityRead Application Data
In some cases, discrepancies can be used by attackers to form a side channel. When cryptographic primitives are vulnerable to side-channel attacks, this could be used to reveal unencrypted plaintext in the worst case.
Mitigations (2)
Architecture and DesignCompartmentalize 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 separatio…
ImplementationEnsure 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…
Examples (2)
The following code checks validity of the supplied username and password and notifies the user of a successful or failed login.
my $username=param('username'); my $password=param('password'); if (IsValidUsername($username) == 1) { if (IsValidPassword($username, $password) == 1) { print "Login Successful"; } else { print "Login Failed - incorrect password"; } } else { print "Login Failed - unknown username"; }
Bad · Perl
"Login Failed - incorrect username or password"
Result
In this example, the attacker observes how long an authentication takes when the user types in the correct password.
def validate_password(actual_pw, typed_pw): if len(actual_pw) <> len(typed_pw): return 0 for i in len(actual_pw): if actual_pw[i] <> typed_pw[i]: return 0 return 1
Bad · Python
CVE IDTitleCVSSSeverityPublished
CVE-2023-6935 Marvin Attack vulnerability in SP Math All RSA — wolfSSL 5.9 Medium2024-02-09
CVE-2023-51437 Apache Pulsar: Timing attack in SASL token signature verification — Apache Pulsar 7.4 High2024-02-07
CVE-2023-50782 Python-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659 7.5 High2024-02-05
CVE-2023-50781 M2crypto: bleichenbacher timing attacks in the rsa decryption api - incomplete fix for cve-2020-25657 7.5 High2024-02-05
CVE-2023-6240 Kernel: marvin vulnerability side-channel leakage in the rsa decryption operation — Red Hat Enterprise Linux 8 6.5 Medium2024-02-04
CVE-2023-5992 Opensc: side-channel leaks while stripping encryption pkcs#1 padding — Red Hat Enterprise Linux 8 5.6 Medium2024-01-31
CVE-2024-0914 Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin) 5.9 Medium2024-01-31
CVE-2024-0564 Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication 5.3 Medium2024-01-30
CVE-2024-23342 python-ecdsa vulnerable to Minerva attack on P-256 — python-ecdsa 7.4 High2024-01-22
CVE-2024-21484 jsrsasign 安全漏洞 — jsrsasign 7.5 High2024-01-22
CVE-2024-0553 Gnutls: incomplete fix for cve-2023-5981 7.5 High2024-01-16
CVE-2023-46739 Timing attack can leak user passwords — cubefs 6.5 Medium2024-01-03
CVE-2023-50708 yii2-authclient vulnerable to possible timing attack on string comparison in OAuth1, OAuth2 and OpenID Connect implementation — yii2-authclient 6.1 Medium2023-12-22
CVE-2023-43623 Siemens Mendix 安全漏洞 — Mendix Forgot Password (Mendix 10 compatible) 5.3 Medium2023-10-10
CVE-2023-39522 Username enumeration attack in goauthentik — authentik 5.3 Medium2023-08-29
CVE-2023-33850 IBM GSKit-Crypto information disclosure — TXSeries for Multiplatforms 7.5 High2023-08-22
CVE-2023-40021 Timing Attack Reveals CSRF Tokens in oppia — oppia 5.3 Medium2023-08-16
CVE-2023-3462 Vault's LDAP Auth Method Allows for User Enumeration — Vault 5.3 Medium2023-07-31
CVE-2023-3897 Bypassing CAPTCHA & Enumerating Usernames via Password Reset Page — SureMDM Onpremise 4.8 Medium2023-07-25
CVE-2023-3529 Rotem Dynamics Rotem CRM OTP URI Interface information exposure — Rotem CRM 5.3 Medium2023-07-06
CVE-2023-22359 User-enumeration in RestAPI — Checkmk 4.3 Medium2023-06-26
CVE-2023-34344 A vulnerability in the IPMI handler, where an unauthorized attacker can use certain oracles to guess a valid username — MegaRAC_SPx 5.3 Medium2023-06-12
CVE-2023-32691 ginuerzh/gost vulnerable to Timing Attack — gost 5.9 Medium2023-05-30
CVE-2023-32694 Non-constant time HMAC comparison in Adyen plugin in Saleor — saleor 4.8 Medium2023-05-25
CVE-2023-0440 Observable Discrepancy in healthchecks/healthchecks — healthchecks/healthchecks 7.1 -2023-01-23
CVE-2021-4286 cocagne pysrp _ctsrp.py calculate_x information exposure — pysrp 2.6 Low2022-12-27
CVE-2022-20940 Cisco Firepower Threat Defense 安全漏洞 — Cisco Firepower Threat Defense Software 5.3 Medium2022-11-10
CVE-2021-45925 Username Enumeration — IAC-AST2500A 5.3 Medium2022-10-24
CVE-2022-36105 User Enumeration via Response Timing in TYPO3 — typo3 5.3 Medium2022-09-13
CVE-2022-20866 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software RSA Private Key Leak Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 7.4 High2022-08-10

Vulnerabilities classified as CWE-203 (通过差异性导致的信息暴露) represent 147 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.