Weaknesses of type CWE-302

47 results

Bypass de autenticação por dados assumidos como imutáveis

A aplicação assume que certos dados (como IDs de usuário, tokens ou flags de privilégio) não podem ser alterados pelo cliente e, portanto, não valida adequadamente essas informações. Um atacante consegue modificar esses dados imutáveis (via requisição HTTP, cookie ou parâmetro) para se passar por outro usuário ou elevar seus privilégios sem autenticação válida.

Example

Um sistema web armazena em cookie o ID do usuário logado como 'user_id=123' e confia cegamente nele. O atacante intercepta a requisição, muda para 'user_id=456' (outro usuário) e a aplicação processa como se fosse autêntico, concedendo acesso à conta alheia.

How to mitigate

Nunca confie em dados do cliente para decisões de autenticação e autorização. Valide sempre a sessão/token no servidor, use identificadores opacos (não sequenciais), implemente verificações de integridade criptográfica (HMAC, assinatura JWT) e mantenha estado confiável apenas no backend.

CVE-2024-43441CRITICALApache HugeGraph-Server: Fixed JWT Token(Secret)EPSS 73.1%CVE-2024-4024HIGHAuthentication Bypass by Assumed-Immutable Data in GitLabEPSS 14.9%CVE-2016-9482—PHP FormMail Generator generates PHP code for standard web forms, and the code generated is vulnerable to authentication bypassEPSS 4.5%CVE-2025-29813CRITICALAzure DevOps Elevation of Privilege VulnerabilityEPSS 1.6%CVE-2026-84731CRITICALPre-Authentication Admin Bypass and Remote Code Execution in Nutanix Prism Gateway inside AOSEPSS 1.3%CVE-2023-4669CRITICALAuthentication Bypass in Exagate SYSGuard 3001EPSS 1.2%CVE-2023-4612CRITICALMFA bypass in Apereo CASEPSS 1.1%CVE-2024-49056HIGHAirlift.microsoft.com Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2020-15074—OpenVPN 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-2022-3875HIGHClick Studios Passwordstate API authentication bypass by assumed-immutable dataEPSS 1.0%CVE-2022-22729—CAMS for HIS Server contained in the following Yokogawa Electric products improperly authenticate the receiving packets. The authentication EPSS 0.9%CVE-2026-47303HIGHASP.NET Core Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2025-47158CRITICALAzure DevOps Server Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2024-12838HIGHChanging Information Technology CGFIDO - Authentication BypassEPSS 0.8%CVE-2021-1561MEDIUMCisco Secure Email and Web Manager Spam Quarantine Unauthorized Access 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-2026-80092MEDIUMMicrosoft Identity Web Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2026-50528HIGH.NET Security Feature Bypass VulnerabilityEPSS 0.6%CVE-2026-5423HIGHSubscription Authentication Bypass via Unverified connectionParams.jwtEPSS 0.6%