Fallos del tipo CWE-303

109 resultados

Implementação incorreta de algoritmos de autenticação

Ocorre quando o desenvolvedor implementa um algoritmo de autenticação de forma incorreta, desviando do padrão esperado ou cometendo erros lógicos na validação de credenciais. Isso pode permitir que atacantes contornem o mecanismo de autenticação através de entradas malformadas, race conditions ou falhas na comparação de senhas.

Ejemplo

Um sistema que compara senhas usando operadores de igualdade simples (==) em vez de funções timing-safe, permitindo timing attacks. Outro caso: validação de JWT que não verifica assinatura ou aceita algoritmo 'none'. Ou ainda, implementar autenticação multi-fator que deixa um caminho para bypass se a segunda autenticação falhar.

Cómo mitigar

Use bibliotecas de autenticação maduras e bem auditadas (passlib, bcrypt, argon2) em vez de implementar do zero. Aplique testes unitários e de segurança específicos para fluxos de autenticação, incluindo casos de falha. Faça code review focado em algoritmos criptográficos e nunca compare credenciais com == em linguagens tipo Python/Java — use funções timing-safe.

CVE-2022-33736A vulnerability has been identified in Opcenter Quality V13.1 (All versions < V13.1.20220624), Opcenter Quality V13.2 (All versions < V13.2.EPSS 1.3%CVE-2022-46146MEDIUMPrometheus Exporter Toolkit vulnerable to basic authentication bypassEPSS 1.2%CVE-2023-34274HIGHD-Link DIR-2150 LoginPassword Incorrect Implementation of Authentication Algorithm Authentication Bypass VulnerabilityEPSS 1.1%CVE-2023-34282HIGHD-Link DIR-2150 HNAP Incorrect Implementation of Authentication Algorithm Authentication Bypass VulnerabilityEPSS 1.1%CVE-2023-3326Network authentication attack via pam_krb5EPSS 1.1%CVE-2020-5268MEDIUMSubject Confirmation Method not validated in Saml2 Authentication Services for ASP.NETEPSS 1.1%CVE-2024-26248HIGHWindows Kerberos Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2026-12773MEDIUMBerriAI litellm MCP Proxy user_api_key_auth_mcp.py UserAPIKeyAuth improper authenticationEPSS 1.0%CVE-2022-20923MEDIUMCisco Small Business RV110W, RV130, RV130W, and RV215W Routers IPSec VPN Server Authentication Bypass VulnerabilityEPSS 1.0%CVE-2022-39366CRITICALDataHub missing JWT signature checkEPSS 0.9%CVE-2023-44420HIGHD-Link DIR-X3260 prog.cgi Incorrect Implementation of Authentication Algorithm Authentication Bypass VulnerabilityEPSS 0.9%CVE-2023-29129CRITICALA vulnerability has been identified in Mendix SAML (Mendix 7 compatible) (All versions >= V1.17.3 < V1.18.0), Mendix SAML (Mendix 7 compatibEPSS 0.9%CVE-2025-66489CRITICALCal.com Authentication Bypass via bad TOTP + password checksEPSS 0.8%CVE-2024-56128MEDIUMApache Kafka: SCRAM authentication vulnerable to replay attacks when used without encryptionEPSS 0.8%CVE-2026-50360HIGHWindows SMB Server Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-57852MEDIUMAuthentication Bypass via Null Short-Circuit in Grav CMS Scheduler Webhook Token CheckEPSS 0.7%CVE-2026-33557CRITICALApache Kafka: Missing JWT token validation in OAUTHBEARER authenticationEPSS 0.7%CVE-2021-42146HIGHAn issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. DTLS servers allow remote attackers to reuse the same epoch nuEPSS 0.7%CVE-2026-28446CRITICALOpenClaw < 2026.2.1 - Inbound Allowlist Policy Bypass in voice-call Extension via Empty Caller ID and Suffix MatchingEPSS 0.7%CVE-2024-4332CRITICALImproper Authentication in Tripwire Enterprise 9.1.0 APIsEPSS 0.6%