CWE Database
/

CWE-184

Back to CWE list

CWE-184

Incomplete List of Disallowed Inputs

Base
Draft

Description

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.

Common Consequences

Scope

Access Control

Impact

Bypass Protection Mechanism

Potential Mitigations

Implementation

Do not rely exclusively on detecting disallowed inputs. There are too many variants to encode a character, especially when different environments are used, so there is a high likelihood of missing some variants. Only use detection of disallowed inputs as a mechanism for detecting suspicious activity. Ensure that you are using other protection mechanisms that only identify "good" input - such as lists of allowed inputs - and ensure that you are properly encoding your outputs.

CVE-2024-6091

Chain: AI agent platform does not restrict pathnames containing internal "/./" sequences (CWE-55), leading to an incomplete denylist (CWE-184) that does not prevent OS command injection (CWE-78)

CVE-2024-4315

Chain: API for text generation using Large Language Models (LLMs) does not include the "\" Windows folder separator in its denylist (CWE-184) when attempting to prevent Local File Inclusion via path traversal (CWE-22), allowing deletion of arbitrary files on Windows systems.

CVE-2024-44335

Chain: filter only checks for some shell-injection characters (CWE-184), enabling OS command injection (CWE-78)

CVE-2008-2309

product uses a denylist to identify potentially dangerous content, allowing attacker to bypass a warning

CVE-2005-2782

PHP remote file inclusion in web application that filters "http" and "https" URLs, but not "ftp".

CVE-2004-0542

Programming language does not filter certain shell metacharacters in Windows environment.

CVE-2004-0595

XSS filter doesn't filter null characters before looking for dangerous tags, which are ignored by web browsers. MIE and validate-before-cleanse.

CVE-2005-3287

Web-based mail product doesn't restrict dangerous extensions such as ASPX on a web server, even though others are prohibited.

CVE-2004-2351

Resultant XSS when only <script> and <style> are checked.

CVE-2005-2959

Privileged program does not clear sensitive environment variables that are used by bash. Overlaps multiple interpretation error.

+7 more examples

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now