Falhas do tipo CWE-20

5.393 resultados

Validação inadequada de entrada

A aplicação recebe dados do usuário ou de fontes externas mas não valida (ou valida mal) se esses dados têm as propriedades necessárias para processamento seguro. Isso abre porta para injeção de código, buffer overflow, lógica corrompida e outros ataques que exploram dados malformados ou maliciosos.

Exemplo

Um formulário web aceita um CPF sem verificar se tem 11 dígitos numéricos, ou um app móvel recebe um ID de usuário em JSON sem confirmar se é um inteiro — atacantes exploram isso para acessar dados de outros usuários, executar queries SQL maliciosas ou causar erro de processamento.

Como mitigar

Implemente validação rigorosa na entrada: verifique tipo, comprimento, formato, intervalo de valores permitidos. Use whitelist (aceitar só o que você sabe ser seguro) em vez de blacklist. Valide tanto no cliente quanto no servidor, e use bibliotecas de parsing seguro para formatos complexos (XML, JSON).

CVE-2021-36041CRITICALMagento Commerce Improper Input Validation Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2022-40145CRITICALApache Karaf: JDBC JAAS LDAP injectionEPSS 2.4%CVE-2022-32534HIGHOS Command InjectionEPSS 2.4%CVE-2024-5989CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.4%CVE-2019-1747HIGHCisco IOS and IOS XE Software Short Message Service Denial of Service VulnerabilityEPSS 2.4%CVE-2019-1858HIGHCisco FXOS and NX-OS Software Simple Network Management Protocol Denial of Service VulnerabilityEPSS 2.4%CVE-2019-9141HIGHZoneplayer ActiveX Remote Code Execution vulnerabilityEPSS 2.4%CVE-2021-36006LOWAdobe Photoshop MP4 File Parsing Uninitialized Variable Information Disclosure VulnerabilityEPSS 2.4%CVE-2021-1149HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1147HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1146HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1150HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1298HIGHCisco SD-WAN Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1148HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1299HIGHCisco SD-WAN Command Injection VulnerabilitiesEPSS 2.4%CVE-2024-1355CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.4%CVE-2022-31779—Improper HTTP/2 scheme and method validationEPSS 2.4%CVE-2020-3127HIGHCisco Webex Network Recording Player and Cisco Webex Player Arbitrary Code Execution VulnerabilitiesEPSS 2.4%CVE-2017-6662—A vulnerability in the web-based user interface of Cisco Prime Infrastructure (PI) and Evolved Programmable Network Manager (EPNM) could allEPSS 2.4%CVE-2021-25437—Improper access control vulnerability in Tizen FOTA service prior to Firmware update JUL-2021 Release allows attackers to arbitrary code exeEPSS 2.4%