Fallos del tipo CWE-20

5386 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-0173HIGHA vulnerability in the Cisco IOS Software and Cisco IOS XE Software function that restores encapsulated option 82 information in DHCP VersioEPSS 7.6%KEVCVE-2018-0174HIGHA vulnerability in the DHCP option 82 encapsulation functionality of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticEPSS 7.6%KEVCVE-2023-23416HIGHWindows Cryptographic Services Remote Code Execution VulnerabilityEPSS 7.6%CVE-2025-34043CRITICALVacron NVR Remote Command ExecutionEPSS 7.5%CVE-2020-1040CRITICALA remote code execution vulnerability exists when Hyper-V RemoteFX vGPU on a host server fails to properly validate input from an authenticaEPSS 7.3%KEVCVE-2016-7068MEDIUMAn issue has been found in PowerDNS before 3.4.11 and 4.0.2, and PowerDNS recursor before 3.7.4 and 4.0.4, allowing a remote, unauthenticateEPSS 7.3%CVE-2020-10885HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of TP-Link Archer A7 Firmware Ver: 190726 AC1EPSS 7.2%CVE-2018-0158HIGHA vulnerability in the Internet Key Exchange Version 2 (IKEv2) module of Cisco IOS Software and Cisco IOS XE Software could allow an unautheEPSS 7.2%KEVCVE-2021-41079—Apache Tomcat DoS with unexpected TLS packetEPSS 7.2%CVE-2014-125117CRITICALD-Link info.cgi POST Request Stack-Based Buffer Overflow RCEEPSS 7.2%CVE-2017-12234HIGHMultiple vulnerabilities in the implementation of the Common Industrial Protocol (CIP) feature in Cisco IOS 12.4 through 15.6 could allow anEPSS 7.1%KEVCVE-2017-12235HIGHA vulnerability in the implementation of the PROFINET Discovery and Configuration Protocol (PN-DCP) for Cisco IOS 12.2 through 15.6 could alEPSS 7.1%KEVCVE-2017-12233HIGHMultiple vulnerabilities in the implementation of the Common Industrial Protocol (CIP) feature in Cisco IOS 12.4 through 15.6 could allow anEPSS 7.1%KEVCVE-2020-3383HIGHCisco Data Center Network Manager Path Traversal VulnerabilityEPSS 7.0%CVE-2022-45725HIGHImproper Input Validation in Comfast router CF-WR6110N V2.3.1 allows a remote attacker on the same network to execute arbitrary code on the EPSS 7.0%CVE-2024-38052HIGHKernel Streaming WOW Thunk Service Driver Elevation of Privilege VulnerabilityEPSS 7.0%CVE-2020-3280CRITICALCisco Unified Contact Center Express Remote Code Execution VulnerabilityEPSS 6.9%CVE-2022-35666HIGHAdobe Acrobat Reader Improper Input Validation Remote Code Execution VulnerabilityEPSS 6.9%CVE-2018-0159HIGHA vulnerability in the implementation of Internet Key Exchange Version 1 (IKEv1) functionality in Cisco IOS Software and Cisco IOS XE SoftwaEPSS 6.9%KEVCVE-2018-0253—A vulnerability in the ACS Report component of Cisco Secure Access Control System (ACS) could allow an unauthenticated, remote attacker to eEPSS 6.8%