Falhas do tipo CWE-1287

149 resultados

Validação insuficiente de tipo de entrada

A aplicação aceita entrada do usuário sem verificar se ela corresponde ao tipo de dado esperado (inteiro, string, booleano, etc.). Isso permite que um atacante envie dados de tipo inesperado, causando comportamento anômalo, bypass de lógica ou até execução de código malicioso.

Exemplo

Um formulário espera um ID numérico, mas não valida o tipo antes de usar: quando um atacante envia uma string com comando SQL ou script JavaScript em vez de um número, o código processa normalmente e a injeção acontece.

Como mitigar

Valide explicitamente o tipo de cada entrada (use type hints, schemas de validação como JSON Schema, ou funções de cast com tratamento de erro). Nunca confie no tipo declarado pelo cliente; revalide no servidor. Use casting seguro com falha clara se o tipo não corresponder.

CVE-2024-4879CRITICALJelly Template Injection Vulnerability in ServiceNow UI MacrosEPSS 100.0%KEVCVE-2022-31007MEDIUMPrivilege escalation from administrator in eLabFTWEPSS 26.1%CVE-2024-6298CRITICALremote code executionEPSS 19.0%CVE-2026-25639HIGHAxios affected by Denial of Service via __proto__ Key in mergeConfigEPSS 2.5%CVE-2021-43802CRITICALAdmin privilege escalation and arbitrary code execution via malicious *.etherpad importsEPSS 2.0%CVE-2026-5946HIGHInvalid handling of CLASS != INEPSS 1.9%CVE-2024-51550CRITICALData Validation / SanitizationEPSS 1.8%CVE-2021-32024CRITICALA remote code execution vulnerability in the BMP image codec of BlackBerry QNX SDP version(s) 6.4 to 7.1 could allow an attacker to potentiaEPSS 1.8%CVE-2024-51546HIGHCredentails DisclosureEPSS 1.5%CVE-2025-59257MEDIUMWindows Local Session Manager (LSM) Denial of Service VulnerabilityEPSS 1.4%CVE-2025-59259MEDIUMWindows Local Session Manager (LSM) Denial of Service VulnerabilityEPSS 1.4%CVE-2022-20783HIGHCisco TelePresence Collaboration Endpoint and RoomOS Software H.323 Denial of Service VulnerabilityEPSS 1.4%CVE-2026-26115HIGHSQL Server Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2022-39369HIGHService Hostname Discovery Exploitation in phpCASEPSS 1.1%CVE-2026-44249HIGHNetty has an IPv6 Subnet Filter Bypass via Incorrect Comparator MaskingEPSS 1.0%CVE-2025-58729MEDIUMWindows Local Session Manager (LSM) Denial of Service VulnerabilityEPSS 1.0%CVE-2021-20329MEDIUMSpecific cstrings input may not be properly validated in the Go DriverEPSS 1.0%CVE-2023-4522MEDIUMImproper Validation of Specified Type of Input in GitLabEPSS 0.9%CVE-2022-43723HIGHA vulnerability has been identified in SICAM PAS/PQS (All versions < V7.0), SICAM PAS/PQS (All versions >= 7.0 < V8.06). Affected software dEPSS 0.9%CVE-2023-3900MEDIUMImproper Validation of Specified Type of Input in GitLabEPSS 0.9%