Fallos del tipo CWE-20

5399 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-2024-1369CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.3%CVE-2024-1359CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.3%CVE-2020-7526—Improper Input Validation vulnerability exists in PowerChute Business Edition (software V9.0.x and earlier) which could cause remote code exEPSS 2.3%CVE-2020-6998MEDIUMRockwell Automation CompactLogix 5370 and ControlLogix 5570 Controllers Improper Input ValidationEPSS 2.3%CVE-2018-0369—A vulnerability in the reassembly logic for fragmented IPv4 packets of Cisco StarOS running on virtual platforms could allow an unauthenticaEPSS 2.3%CVE-2019-3581HIGHMcAfee Web Gateway denial of service attack due to Improper Input ValidationEPSS 2.3%CVE-2019-1691MEDIUMCisco Firepower Threat Defense Software SSL or TLS Denial of Service VulnerabilityEPSS 2.3%CVE-2020-8255—A vulnerability in the Pulse Connect Secure < 9.1R9 admin web interface could allow an authenticated attacker to perform an arbitrary file rEPSS 2.3%CVE-2020-5243MEDIUMDenial of Service in uap-core when processing crafted User-Agent stringsEPSS 2.3%CVE-2022-31020HIGHRemote code execution in Indy's NODE_UPGRADE transactionEPSS 2.3%CVE-2024-5990HIGHThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.3%CVE-2020-8349CRITICALAn internal security review has identified an unauthenticated remote code execution vulnerability in Cloud Networking Operating System (CNOSEPSS 2.2%CVE-2021-36032HIGHMagento Commerce Improper Input Validation Could Lead To Information Exposure and Privilege EscalationEPSS 2.2%CVE-2025-26647HIGHWindows Kerberos Elevation of Privilege VulnerabilityEPSS 2.2%CVE-2023-5043HIGHIngress nginx annotation injection causes arbitrary command executionEPSS 2.2%CVE-2019-1843HIGHCisco RV110W, RV130W, and RV215W Routers Management Interface Denial of Service VulnerabilityEPSS 2.2%CVE-2020-15098HIGHMissing Required Cryptographic Step Leading to Sensitive Information Disclosure in TYPO3 CMSEPSS 2.2%CVE-2018-0113—A vulnerability in an operations script of Cisco UCS Central could allow an authenticated, remote attacker to execute arbitrary shell commanEPSS 2.2%CVE-2024-3177LOWBypassing mountable secrets policy imposed by the ServiceAccount admission pluginEPSS 2.2%CVE-2021-21408HIGHAccess to restricted PHP code by dynamic static class access in smartyEPSS 2.2%