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-2021-37147—Request Smuggling - LF line endingEPSS 2.5%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-2019-1694HIGHCisco Adaptive Security Appliance Software and Cisco Firepower Threat Defense Software TCP Timer Handling Denial of Service VulnerabilityEPSS 2.5%CVE-2019-1739HIGHCisco IOS and IOS XE Software Network-Based Application Recognition Denial of Service VulnerabilitiesEPSS 2.5%CVE-2018-15460HIGHCisco Email Security Appliance URL Filtering Denial of Service VulnerabilityEPSS 2.5%CVE-2019-1738HIGHCisco IOS and IOS XE Software Network-Based Application Recognition Denial of Service VulnerabilityEPSS 2.5%CVE-2019-1751HIGHCisco IOS Software NAT64 Denial of Service VulnerabilityEPSS 2.5%CVE-2019-1752HIGHCisco IOS and IOS XE Software ISDN Interface Denial of Service VulnerabilityEPSS 2.5%CVE-2021-1252HIGHClam AntiVirus (ClamAV) Excel XLM Parser Denial of Service VulnerabilityEPSS 2.5%CVE-2021-32566—Specific sequence of HTTP/2 frames can cause ATS to crashEPSS 2.5%CVE-2023-36585HIGHWindows upnphost.dll Denial of Service VulnerabilityEPSS 2.5%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.5%CVE-2018-0416MEDIUMCisco Wireless LAN Controller Software Information Disclosure VulnerabilityEPSS 2.5%CVE-2017-3850—A vulnerability in the Autonomic Networking Infrastructure (ANI) feature of Cisco IOS Software (15.4 through 15.6) and Cisco IOS XE SoftwareEPSS 2.5%CVE-2019-10245—In Eclipse OpenJ9 prior to the 0.14.0 release, the Java bytecode verifier incorrectly allows a method to execute past the end of bytecode arEPSS 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-2022-25757—Apache APISIX: the body_schema check in request-validation plugin can be bypassedEPSS 2.5%CVE-2022-24775HIGHImproper Input Validation in guzzlehttp/psr7EPSS 2.5%CVE-2023-3893HIGHKubernetes - csi-proxy - Insufficient input sanitization leads to privilege escalationEPSS 2.5%CVE-2021-36042CRITICALMagento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code ExecutionEPSS 2.5%