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-2021-37148—Request Smuggling - transfer encoding validationEPSS 2.7%CVE-2021-37149—Request Smuggling - multiple attacksEPSS 2.7%CVE-2022-24720CRITICALImproper Input Validation in image_processingEPSS 2.7%CVE-2018-0136—A vulnerability in the IPv6 subsystem of Cisco IOS XR Software Release 5.3.4 for the Cisco Aggregation Services Router (ASR) 9000 Series couEPSS 2.7%CVE-2018-10899HIGHA flaw was found in Jolokia versions from 1.2 to before 1.6.1. Affected versions are vulnerable to a system-wide CSRF. This holds true for pEPSS 2.7%CVE-2020-26243HIGHMemory leak in nanopbEPSS 2.7%CVE-2018-14661MEDIUMIt was found that usage of snprintf function in feature/locks translator of glusterfs server 3.8.4, as shipped with Red Hat Gluster Storage,EPSS 2.7%CVE-2024-5988CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.7%CVE-2018-0090—A vulnerability in management interface access control list (ACL) configuration of Cisco NX-OS System Software could allow an unauthenticateEPSS 2.6%CVE-2019-1712MEDIUMCisco IOS XR Software Protocol Independent Multicast Denial of Service VulnerabilityEPSS 2.6%CVE-2017-6619—A vulnerability in the web-based GUI of Cisco Integrated Management Controller (IMC) 3.0(1c) could allow an authenticated, remote attacker tEPSS 2.6%CVE-2021-33012HIGHRockwell Automation MicroLogix 1100, all versions, allows a remote, unauthenticated attacker sending specially crafted commands to cause theEPSS 2.6%CVE-2021-21069HIGHAdobe Creative Cloud Privilege Escalation VulnerabilityEPSS 2.6%CVE-2024-1374CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.6%CVE-2023-3466HIGHReflected Cross-Site Scripting (XSS) EPSS 2.6%CVE-2023-52137HIGHGitHub Action tj-actions/verify-changed-files is vulnerable to command injection in output filenamesEPSS 2.6%CVE-2024-2424HIGHRockwell Automation Input/Output Device Vulnerable to Major Nonrecoverable FaultEPSS 2.6%CVE-2020-1714HIGHA flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks. This flaw EPSS 2.6%CVE-2023-36585HIGHWindows upnphost.dll Denial of Service VulnerabilityEPSS 2.6%CVE-2022-40145CRITICALApache Karaf: JDBC JAAS LDAP injectionEPSS 2.6%