Fallos del tipo CWE-20

5418 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-2023-35336MEDIUMWindows MSHTML Platform Security Feature Bypass VulnerabilityEPSS 0.9%CVE-2023-4698HIGHImproper Input Validation in usememos/memosEPSS 0.9%CVE-2023-38701CRITICALHydra's committed UTxOs at Commit validator and UTxOs at Initial validator can be spent arbitrarily by anyoneEPSS 0.9%CVE-2022-29479MEDIUMOn F5 BIG-IP 15.1.x versions prior to 15.1.5.1, 14.1.x versions prior to 14.1.4.6, 13.1.x versions prior to 13.1.5, and all versions of 12.1EPSS 0.9%CVE-2022-36960HIGHSolarWinds Platform Improper Input ValidationEPSS 0.9%CVE-2022-46372HIGHAlotcer - AR7088H-A Authenticated Command executionEPSS 0.9%CVE-2023-20105CRITICALA vulnerability in the change password functionality of Cisco Expressway Series and Cisco TelePresence Video Communication Server (VCS) coulEPSS 0.9%CVE-2023-3894MEDIUMDOS in jackson-dataformats-textEPSS 0.9%CVE-2022-47188HIGHImproper Input Validation in Generex CS141EPSS 0.9%CVE-2021-43861HIGHIncorrect sanitisation function leads to `XSS`EPSS 0.9%CVE-2021-20302—A flaw was found in OpenEXR's TiledInputFile functionality. This flaw allows an attacker who can submit a crafted single-part non-image to bEPSS 0.9%CVE-2011-10020HIGHKaillera 0.86 Server DoS via Malformed UDP PacketEPSS 0.9%CVE-2020-3474MEDIUMCisco IOS XE Software Web Management Framework VulnerabilitiesEPSS 0.9%CVE-2017-6650—A vulnerability in the Telnet CLI command of Cisco NX-OS System Software 7.1 through 7.3 running on Cisco Nexus Series Switches could allow EPSS 0.9%CVE-2023-0299HIGHImproper Input Validation in publify/publifyEPSS 0.9%CVE-2024-3385HIGHPAN-OS: Firewall Denial of Service (DoS) when GTP Security is DisabledEPSS 0.9%CVE-2022-39060CRITICALChangingTec MegaServiSignAdapter - Improper Input ValidationEPSS 0.9%CVE-2026-46452MEDIUMApache NimBLE: Mesh Proxy SAR reassembly unbounded append and unchecked failureEPSS 0.9%CVE-2021-3911MEDIUMMisconfigured IP address field in ROA leads to OctoRPKI crashEPSS 0.9%CVE-2023-42449HIGHMalicious head initialiser can extract PTs from control of Hydra scripts, leading to locked participant commits or spoofed commitsEPSS 0.9%