CWE-20: Improper Input Validation, page 150
Filter
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
What the weakness is: CWE-20 at MITRE. OWASP Top 10: A05:2025 Injection
Related attack patterns (CAPEC): 51
- CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
- CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
- CAPEC-8 Buffer Overflow in an API Call Likelihood: High · Severity: High
- CAPEC-9 Buffer Overflow in Local Command-Line Utilities Likelihood: High · Severity: High
- CAPEC-10 Buffer Overflow via Environment Variables Likelihood: High · Severity: High
- CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
- CAPEC-14 Client-side Injection-induced Buffer Overflow Likelihood: Medium · Severity: High
- CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
- CAPEC-23 File Content Injection Likelihood: High · Severity: Very High
- CAPEC-24 Filter Failure through Buffer Overflow Likelihood: High · Severity: High
- CAPEC-28 Fuzzing Likelihood: High · Severity: Medium
- CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
- CAPEC-42 MIME Conversion Likelihood: High · Severity: High
- CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
- CAPEC-45 Buffer Overflow via Symbolic Links Likelihood: High · Severity: High
- CAPEC-46 Overflow Variables and Tags Likelihood: High · Severity: High
- CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
- CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
- CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-67 String Format Overflow in syslog() Likelihood: High · Severity: Very High
- CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
- CAPEC-72 URL Encoding Likelihood: High · Severity: High
- CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
- CAPEC-83 XPath Injection Likelihood: High · Severity: High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-88 OS Command Injection Likelihood: High · Severity: High
- CAPEC-101 Server Side Include (SSI) Injection Likelihood: High · Severity: High
- CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
- CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
- CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
- CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
- CAPEC-135 Format String Injection Likelihood: High · Severity: High
- CAPEC-136 LDAP Injection Likelihood: High · Severity: High
- CAPEC-153 Input Data Manipulation Severity: Medium
- CAPEC-182 Flash Injection Likelihood: High · Severity: Medium
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
- CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High
- CAPEC-250 XML Injection Likelihood: High
- CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data Severity: Medium
- CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High
- CAPEC-473 Signature Spoof
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-20, as MITRE names them. Credits.
Ask an AI about CWE-20
Show the prompt
Explain CWE-20: Improper Input Validation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/20.html and https://cve.bz/cve/cwe/20?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
- 8.8CVE-2018-6140EPSS 2.6%
Allowing the chrome.debugger API to attach to Web UI pages in DevTools in Google Chrome prior to 67.0.3396.62 allowed an attacker who convinced a user to install a malicious extension to execute arbitrary code via a crafted Chrome Extensio…
- 8.8CVE-2018-6139EPSS 1.9%
Insufficient target checks on the chrome.debugger API in DevTools in Google Chrome prior to 67.0.3396.62 allowed an attacker who convinced a user to install a malicious extension to execute arbitrary code via a crafted Chrome Extension.
- 6.5CVE-2018-6114EPSS 1.4%
Incorrect enforcement of CSP for <object> tags in Blink in Google Chrome prior to 66.0.3359.117 allowed a remote attacker to bypass content security policy via a crafted HTML page.
- 6.5CVE-2018-6113EPSS 1.4%
Improper handling of pending navigation entries in Navigation in Google Chrome on iOS prior to 66.0.3359.117 allowed a remote attacker to perform domain spoofing via a crafted HTML page.
- 8.8CVE-2018-6111EPSS 2.6%
An object lifetime issue in the developer tools network handler in Google Chrome prior to 66.0.3359.117 allowed a local attacker to execute arbitrary code via a crafted HTML page.
- 5.4CVE-2018-6110EPSS 1.2%
Parsing documents as HTML in Downloads in Google Chrome prior to 66.0.3359.117 allowed a remote attacker to cause Chrome to execute scripts via a local non-HTML page.
- 6.5CVE-2018-6096EPSS 1.5%
A JavaScript focused window could overlap the fullscreen notification in Fullscreen in Google Chrome prior to 66.0.3359.117 allowed a remote attacker to obscure the full screen warning via a crafted HTML page.
- 7.8CVE-2018-6084ExploitEPSS 1.1%
Insufficiently sanitized distributed objects in Updater in Google Chrome on macOS prior to 66.0.3359.117 allowed a local attacker to execute arbitrary code via an executable file.
- 6.5CVE-2018-20070EPSS 0.5%
Incorrect handling of confusable characters in URL Formatter in Google Chrome prior to 71.0.3578.80 allowed a remote attacker to spoof the contents of the Omnibox (URL bar) via a crafted domain name.
- 4.3CVE-2018-20068EPSS 0.5%
Incorrect handling of 304 status codes in Navigation in Google Chrome prior to 71.0.3578.80 allowed a remote attacker to confuse the user about the origin of the current page via a crafted HTML page.
- 8.8CVE-2018-20065EPSS 0.6%
Handling of URI action in PDFium in Google Chrome prior to 71.0.3578.80 allowed a remote attacker to initiate potentially unsafe navigations without a user gesture via a crafted PDF file.
- 6.5CVE-2018-16088EPSS 1.1%
A missing check for JS-simulated input events in Blink in Google Chrome prior to 69.0.3497.81 allowed a remote attacker to download arbitrary files with no user input via a crafted HTML page.
- 6.5CVE-2018-16080EPSS 1.4%
A missing check for popup window handling in Fullscreen in Google Chrome on macOS prior to 69.0.3497.81 allowed a remote attacker to spoof the contents of the Omnibox (URL bar) via a crafted HTML page.
- 9.6CVE-2018-16068EPSS 1.9%
Missing validation in Mojo in Google Chrome prior to 69.0.3497.81 allowed a remote attacker to potentially perform a sandbox escape via a crafted HTML page.
- 9.6CVE-2017-15402EPSS 0.6%
Using an ID that can be controlled by a compromised renderer which allows any frame to overwrite the page_state of any other frame in the same process in Navigation in Google Chrome on Chrome OS prior to 62.0.3202.74 allowed a remote attac…
- 7.5CVE-2019-3581EPSS 2.3%
Improper input validation in the proxy component of McAfee Web Gateway 7.8.2.0 and later allows remote attackers to cause a denial of service via a crafted HTTP request parameter.
- 5.5CVE-2019-5717EPSS 1.4%
In Wireshark 2.6.0 to 2.6.5 and 2.4.0 to 2.4.11, the P_MUL dissector could crash. This was addressed in epan/dissectors/packet-p_mul.c by rejecting the invalid sequence number of zero.
- 5.5CVE-2019-5716EPSS 1.4%
In Wireshark 2.6.0 to 2.6.5, the 6LoWPAN dissector could crash. This was addressed in epan/dissectors/packet-6lowpan.c by avoiding use of a TVB before its creation.
- 8.4CVE-2019-0551EPSS 4.5%
A remote code execution vulnerability exists when Windows Hyper-V on a host server fails to properly validate input from an authenticated user on a guest operating system, aka "Windows Hyper-V Remote Code Execution Vulnerability." This aff…
- 8.4CVE-2019-0550EPSS 4.5%
A remote code execution vulnerability exists when Windows Hyper-V on a host server fails to properly validate input from an authenticated user on a guest operating system, aka "Windows Hyper-V Remote Code Execution Vulnerability." This aff…
- 7.8CVE-2017-18320EPSS 0.2%
QSEE unload attempt on a 3rd party TEE without previously loading results in a data abort in snapdragon automobile and snapdragon mobile in versions MSM8996AU, SD 410/12, SD 425, SD 427, SD 430, SD 435, SD 439 / SD 429, SD 450, SD 615/16/S…
- 6.5CVE-2018-20662EPSS 2.3%
In Poppler 0.72.0, PDFDoc::setup in PDFDoc.cc allows attackers to cause a denial-of-service (application crash caused by Object.h SIGABRT, because of a wrong return value from PDFDoc::setup) by crafting a PDF file in which an xref data str…
- 5.5CVE-2018-19478EPSS 1.9%
In Artifex Ghostscript before 9.26, a carefully crafted PDF file can trigger an extremely long running computation when parsing the file.
- 7.5CVE-2018-20658ExploitEPSS 8.5%
The server in Core FTP 2.0 build 653 on 32-bit platforms allows remote attackers to cause a denial of service (daemon crash) via a crafted XRMD command.
- 7.8CVE-2018-5197EPSS 1.1%
A vulnerability in the ExtCommon.dll user extension module version 9.2, 9.2.1, 9.2.2 of Xplatform ActiveX could allow attacker to perform a command injection attack. The vulnerability is due to insufficient input validation of command para…
- 6.5CVE-2018-20650EPSS 2.6%
A reachable Object::dictLookup assertion in Poppler 0.72.0 allows attackers to cause a denial of service due to the lack of a check for the dict data type, as demonstrated by use of the FileSpec class (in FileSpec.cc) in pdfdetach.
- 9.8CVE-2018-6333EPSS 2.3%
The hhvm-attach deep link handler in Nuclide did not properly sanitize the provided hostname parameter when rendering. As a result, a malicious URL could be used to render HTML and other content inside of the editor's context, which could …
- 7.5CVE-2018-6347EPSS 1.4%
An issue in the Proxygen handling of HTTP2 parsing of headers/trailers can lead to a denial-of-service attack. This affects Proxygen prior to v2018.12.31.00.
- 7.5CVE-2018-6343EPSS 0.8%
Proxygen fails to validate that a secondary auth manager is set before dereferencing it. That can cause a denial of service issue when parsing a Certificate/CertificateRequest HTTP2 Frame over a fizz (TLS 1.3) transport. This issue affects…
- 7.5CVE-2018-6335EPSS 1.5%
A Malformed h2 frame can cause 'std::out_of_range' exception when parsing priority meta data. This behavior can lead to denial-of-service. This affects all supported versions of HHVM (3.25.2, 3.24.6, and 3.21.10 and below) when using the p…
- 9.8CVE-2018-6334EPSS 1.9%
Multipart-file uploads call variables to be improperly registered in the global scope. In cases where variables are not declared explicitly before being used this can lead to unexpected behavior. This affects all supported versions of HHVM…
- 7.5CVE-2018-20614EPSS 1.3%
public\install\install.php in CIM 0.9.3 allows remote attackers to reload the product via the public/install/#/step3 URI.
- 7.5CVE-2018-14988EPSS 1.2%
The MXQ TV Box 4.4.2 Android device with a build fingerprint of MBX/m201_N/m201_N:4.4.2/KOT49H/20160106:user/test-keys contains the Android framework with a package name of android (versionCode=19, versionName=4.4.2-20170213) that contains…
- 7.5CVE-2018-20575EPSS 1.0%
Orange Livebox 00.96.320S devices have an undocumented /system_firmwarel.stm URI for manual firmware update. This is related to Firmware 01.11.2017-11:43:44, Boot v0.70.03, Modem 5.4.1.10.1.1A, Hardware 02, and Arcadyan ARV7519RW22-A-L T V…
- 9.8CVE-2018-5203EPSS 2.3%
DEXTUploadX5 version Between 1.0.0.0 and 2.2.0.0 contains a vulnerability that could allow remote attacker to download and execute remote arbitrary file by setting the arguments to the activex method. this can be leveraged for code executi…
- 6.5CVE-2018-20551EPSS 1.9%
A reachable Object::getString assertion in Poppler 0.72.0 allows attackers to cause a denial of service due to construction of invalid rich media annotation assets in the AnnotRichMedia class in Annot.c.
- 6.5CVE-2018-20539EPSS 1.4%
There is a Segmentation fault triggered by illegal address access at liblas::SpatialReference::GetGTIF() (spatialreference.cpp) in libLAS 1.8.1 that will cause a denial of service.
- 8.1CVE-2018-20519EPSS 1.0%
An issue was discovered in 74cms v4.2.111. It allows remote authenticated users to read or modify arbitrary resumes by changing a job-search intention, as demonstrated by the index.php?c=Personal&a=ajax_save_basic pid parameter.
- 7.5CVE-2018-20404EPSS 1.5%
ETK_E900.sys, a SmartETK driver for VIA Technologies EPIA-E900 system board, is vulnerable to denial of service attack via IOCTL 0x9C402048, which calls memmove and constantly fails on an arbitrary (uncontrollable) address, resulting in an…
- 6.5CVE-2018-19869EPSS 2.2%
An issue was discovered in Qt before 5.11.3. A malformed SVG image causes a segmentation fault in qsvghandler.cpp.
- 8.8CVE-2018-7832EPSS 2.2%
An Improper Input Validation vulnerability exists in Pro-Face GP-Pro EX v4.08 and previous versions which could cause the execution arbitrary executable when GP-Pro EX is launched.
- 5.9CVE-2018-20424EPSS 0.9%
Discuz! DiscuzX 3.4, when WeChat login is enabled, allows remote attackers to delete the common_member_wechatmp data structure via an ac=unbindmp request to plugin.php.
- 7.8CVE-2018-19005EPSS 1.7%
Cscape, Version 9.80.75.3 SP3 and prior. An improper input validation vulnerability has been identified that may be exploited by processing specially crafted POC files lacking user input validation. This may allow an attacker to read confi…
- 6.5CVE-2018-1000883EPSS 1.1%
Elixir Plug Plug version All contains a Header Injection vulnerability in Connection that can result in Given a cookie value, Headers can be added. This attack appear to be exploitable via Crafting a value to be sent as a cookie. This vuln…
- 7.5CVE-2018-15330EPSS 1.3%
On BIG-IP 14.0.0-14.0.0.2, 13.0.0-13.1.1.1, or 12.1.0-12.1.3.7, when a virtual server using the inflate functionality to process a gzip bomb as a payload, the BIG-IP system will experience a fatal error and may cause the Traffic Management…
- 6.5CVE-2018-1000873EPSS 4.8%
Fasterxml Jackson version Before 2.9.8 contains a CWE-20: Improper Input Validation vulnerability in Jackson-Modules-Java8 that can result in Causes a denial-of-service (DoS). This attack appear to be exploitable via The victim deserialize…
- 8.8CVE-2018-1000849EPSS 3.5%
Alpine Linux version Versions prior to 2.6.10, 2.7.6, and 2.10.1 contains a Other/Unknown vulnerability in apk-tools (Alpine Linux' package manager) that can result in Remote Code Execution. This attack appear to be exploitable via A speci…
- 4.3CVE-2018-1000815EPSS 1.1%
Brave Software Inc. Brave version version 0.22.810 to 0.24.0 contains a Other/Unknown vulnerability in function ContentSettingsObserver::AllowScript() in content_settings_observer.cc that can result in Websites can run inline JavaScript ev…
- 8.8CVE-2018-5199EPSS 1.7%
In Veraport G3 ALL on MacOS, due to insufficient domain validation, It is possible to overwrite installation file to malicious file. A remote unauthenticated attacker may use this vulnerability to execute arbitrary file.
- 6.5CVE-2018-20301EPSS 0.9%
An issue was discovered in Steve Pallen Coherence before 0.5.2 that is similar to a Mass Assignment vulnerability. In particular, "registration" endpoints (e.g., creating, editing, updating) allow users to update any coherence_fields data.…