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-2018-1104—Ansible Tower through version 3.2.3 has a vulnerability that allows users only with access to define variables for a job template to executeEPSS 2.5%CVE-2016-9578HIGHA vulnerability was discovered in SPICE before 0.13.90 in the server's protocol handling. An attacker able to connect to the SPICE server coEPSS 2.5%CVE-2026-5509HIGHArbitrary Command Injection via Browser Developer Console in TP-Link Archer BE450 and BE7200EPSS 2.5%CVE-2021-32567—Reading HTTP/2 frames too many timesEPSS 2.4%CVE-2021-32566—Specific sequence of HTTP/2 frames can cause ATS to crashEPSS 2.4%CVE-2020-24427LOWAcrobat Reader DC Codec Input Validation Vulnerability Could Lead to Information DisclosureEPSS 2.4%CVE-2024-38230MEDIUMWindows Standards-Based Storage Management Service Denial of Service VulnerabilityEPSS 2.4%CVE-2019-1616HIGHCisco NX-OS Software Cisco Fabric Services Denial of Service VulnerabilityEPSS 2.4%CVE-2021-26606CRITICALDreamSecurity MagicLine Buffer Overflow VulnerabilityEPSS 2.4%CVE-2026-2113MEDIUMyuan1994 tpadmin WebUploader preview.php deserializationEPSS 2.4%CVE-2018-4832—A vulnerability has been identified in OpenPCS 7 V7.1 and earlier (All versions), OpenPCS 7 V8.0 (All versions), OpenPCS 7 V8.1 (All versionEPSS 2.4%CVE-2018-1102—A flaw was found in source-to-image function as shipped with Openshift Enterprise 3.x. An improper path validation of tar files in ExtractTaEPSS 2.4%CVE-2018-0295—A vulnerability in the Border Gateway Protocol (BGP) implementation of Cisco NX-OS Software could allow an unauthenticated, remote attacker EPSS 2.4%CVE-2018-5447—An Improper Input Validation issue was discovered in Nari PCS-9611 relay. An improper input validation vulnerability has been identified thaEPSS 2.4%CVE-2021-26624HIGHeScan Anti-Virus Local privilege escalation VulnerabilityEPSS 2.4%CVE-2022-24818HIGHUnchecked JNDI lookups in GeoToolsEPSS 2.4%CVE-2021-36034CRITICALMagento Commerce Improper Input Validation Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2021-36041CRITICALMagento Commerce Improper Input Validation Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2021-3943—A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A remote code executiEPSS 2.4%CVE-2024-5989CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.4%