Fallos del tipo CWE-20

5887 resultados

Validação inadequada de entrada

A aplicação recebe dados de fontes externas (usuário, API, arquivo) sem verificar se estão no formato, tamanho ou tipo esperado antes de usá-los. Isso permite que um atacante envie dados malformados ou maliciosos que podem causar erros, corrupção de dados, execução de código ou acesso não autorizado.

Ejemplo

Um formulário que aceita um número de idade sem validar se é um inteiro positivo entre 0 e 150. Um atacante envia idade=-5 ou idade='DROP TABLE users;' via SQL, e o código processa isso diretamente no banco sem sanitização, causando dano.

Cómo mitigar

Valide TODA entrada externa: verificar tipo, tamanho, formato e intervalo permitido antes de usar. Use whitelists (aceitar apenas valores conhecidos como seguros) em vez de blacklists, e aplique sanitização ou prepared statements para dados que vão em queries. Testes de entrada fuzzing também ajudam a encontrar gaps.

CVE-2019-1738HIGHCisco IOS and IOS XE Software Network-Based Application Recognition Denial of Service VulnerabilityEPSS 2.5%CVE-2021-1252HIGHClam AntiVirus (ClamAV) Excel XLM Parser Denial of Service VulnerabilityEPSS 2.5%CVE-2018-0416MEDIUMCisco Wireless LAN Controller Software Information Disclosure VulnerabilityEPSS 2.5%CVE-2017-3850—A vulnerability in the Autonomic Networking Infrastructure (ANI) feature of Cisco IOS Software (15.4 through 15.6) and Cisco IOS XE SoftwareEPSS 2.5%CVE-2022-32534HIGHOS Command InjectionEPSS 2.5%CVE-2019-10245—In Eclipse OpenJ9 prior to the 0.14.0 release, the Java bytecode verifier incorrectly allows a method to execute past the end of bytecode arEPSS 2.5%CVE-2023-35368HIGHMicrosoft Exchange Remote Code Execution VulnerabilityEPSS 2.5%CVE-2023-5043HIGHIngress nginx annotation injection causes arbitrary command executionEPSS 2.5%CVE-2022-31779—Improper HTTP/2 scheme and method validationEPSS 2.5%CVE-2022-28129—Insufficient Validation of HTTP/1.x HeadersEPSS 2.5%CVE-2022-31780—HTTP/2 framing vulnerabilitiesEPSS 2.5%CVE-2022-25757—Apache APISIX: the body_schema check in request-validation plugin can be bypassedEPSS 2.5%CVE-2022-24775HIGHImproper Input Validation in guzzlehttp/psr7EPSS 2.5%CVE-2023-3893HIGHKubernetes - csi-proxy - Insufficient input sanitization leads to privilege escalationEPSS 2.5%CVE-2021-1147HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-36042CRITICALMagento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code ExecutionEPSS 2.5%CVE-2021-1150HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1148HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1149HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1146HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%