Falhas do tipo CWE-302

40 resultados

Bypass de autenticação por dados presumidamente imutáveis

O aplicativo assume que certos dados (como ID de usuário, token, flag de admin) não podem ser alterados pelo cliente e os usa para tomar decisões de segurança sem revalidar. Um atacante modifica esses dados (via cookies, parâmetros, headers) e consegue contornar autenticação ou ganhar privilégios. A raiz do problema é confiar em entrada que deveria ser controlada apenas pelo servidor.

Exemplo

Um sistema verifica autenticação lendo um cookie `user_id=123` ou parâmetro `isAdmin=false`, sem validar assinatura ou sessão no servidor. O atacante altera para `user_id=1` (conta de admin) ou `isAdmin=true` e acessa recursos restritos, porque a aplicação não revalida a origem desses dados.

Como mitigar

Nunca confie em dados de controle de acesso vindos do cliente — sempre revalide no servidor (sessão assinada, JWT verificado, ou consulta ao banco de dados). Use mecanismos à prova de falsificação: HMAC, assinatura digital ou tokens opacos gerados e validados apenas no backend.

CVE-2024-43441CRITICALApache HugeGraph-Server: Fixed JWT Token(Secret)EPSS 69.7%CVE-2024-4024HIGHAuthentication Bypass by Assumed-Immutable Data in GitLabEPSS 14.9%CVE-2016-9482PHP FormMail Generator generates PHP code for standard web forms, and the code generated is vulnerable to authentication bypassEPSS 4.7%CVE-2025-29813CRITICALAzure DevOps Elevation of Privilege VulnerabilityEPSS 1.6%CVE-2020-15074OpenVPN Access Server older than version 2.8.4 and version 2.9.5 generates new user authentication tokens instead of reusing exiting tokens EPSS 1.0%CVE-2024-49056HIGHAirlift.microsoft.com Elevation of Privilege VulnerabilityEPSS 1.0%CVE-2022-3875HIGHClick Studios Passwordstate API authentication bypass by assumed-immutable dataEPSS 1.0%CVE-2023-4669CRITICALAuthentication Bypass in Exagate SYSGuard 3001EPSS 1.0%CVE-2022-22729CAMS for HIS Server contained in the following Yokogawa Electric products improperly authenticate the receiving packets. The authentication EPSS 0.9%CVE-2023-4612CRITICALMFA bypass in Apereo CASEPSS 0.9%CVE-2021-1561MEDIUMCisco Secure Email and Web Manager Spam Quarantine Unauthorized Access VulnerabilityEPSS 0.7%CVE-2024-12838HIGHChanging Information Technology CGFIDO - Authentication BypassEPSS 0.7%CVE-2026-47303HIGHASP.NET Core Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2025-47158CRITICALAzure DevOps Server Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2024-56404CRITICALIn One Identity Identity Manager 9.x before 9.3, an insecure direct object reference (IDOR) vulnerability allows privilege escalation. Only EPSS 0.7%CVE-2021-1399MEDIUMCisco Unified Communications Manager Self Care Portal Authorization Bypass VulnerabilityEPSS 0.6%CVE-2023-47127MEDIUMWeak Authentication in Session Handling in typo3/cms-coreEPSS 0.6%CVE-2025-63210CRITICALThe Newtec Celox UHD (models: CELOXA504, CELOXA820) running firmware version celox-21.6.13 is vulnerable to an authentication bypass. An attEPSS 0.6%CVE-2026-50528HIGH.NET Security Feature Bypass VulnerabilityEPSS 0.6%CVE-2024-3741HIGHElectrolink FM/DAB/TV Transmitter Authentication Bypass by Assumed-Immutable DataEPSS 0.5%