Weaknesses of type CWE-305

179 results

Autenticação tecnicamente correta, mas bypassável por fraqueza secundária

A autenticação em si é implementada corretamente, mas há uma falha em outro ponto do código (validação de entrada, gestão de sessão, controle de acesso) que permite contorná-la sem quebrar o mecanismo de autenticação. É quando o algortimo está certo, mas a orquestração dele falha.

Example

Sistema verifica corretamente senha com hash bcrypt, mas aceita também um parâmetro de URL 'admin=true' que não é validado, permitindo bypass direto dos privilégios de autenticação. Ou: autenticação funciona, mas a geração de tokens de sessão usa sequência previsível ou reutiliza IDs antigos.

How to mitigate

Não confie só na função de autenticação isolada: revise toda a cadeia de autorização (validação de entrada, tratamento de sessão, controle de acesso). Faça teste de penetração focado em bypass, não só em quebra de autenticação; implemente múltiplas camadas de validação e nunca deixe parâmetros de privilégio sob controle do cliente.

CVE-2023-27582CRITICALFull authentication bypass if SASL authorization username is specifiedEPSS 1.0%CVE-2023-34137—SonicWall GMS and Analytics CAS Web Services application use static values for authentication without proper checks leading to authenticatioEPSS 1.0%CVE-2022-0451MEDIUMAuth bypass in Dark SDKEPSS 1.0%CVE-2024-7557HIGHOdh-dashboard: odh-model-controller: cross-model authentication bypass in openshift aiEPSS 1.0%CVE-2025-41450HIGHAuthentication bypass with privileged access in Danfoss AK-SM 8xxA Series prior to version 4.2EPSS 0.9%CVE-2020-14359—A vulnerability was found in all versions of Keycloak Gatekeeper, where on using lower case HTTP headers (via cURL) an attacker can bypass oEPSS 0.9%CVE-2025-46801CRITICALPgpool-II provided by PgPool Global Development Group contains an authentication bypass by primary weakness vulnerability. if the vulnerabilEPSS 0.9%CVE-2023-20154CRITICALCisco Modeling Labs External Authentication Bypass VulnerabilityEPSS 0.9%CVE-2024-1202CRITICALAuthentication Bypass in XPodas' OctopodEPSS 0.9%CVE-2024-3847CRITICALInsufficient policy enforcement in WebUI in Google Chrome prior to 124.0.6367.60 allowed a remote attacker to bypass content security policyEPSS 0.9%CVE-2026-19349CRITICALLemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl allow authentication bypass via an OAuth2 state parameter stored as an SSO session in the GitHub and LinkedIn backendsEPSS 0.8%CVE-2024-20378HIGHA vulnerability in the web-based management interface of Cisco IP Phone firmware could allow an unauthenticated, remote attacker to retrieveEPSS 0.8%CVE-2025-24522CRITICALKUNBUS Revolution Pi Authentication Bypass by Primary WeaknessEPSS 0.8%CVE-2021-45031HIGHWeak Authentication in Login Function of USC+EPSS 0.8%CVE-2025-56132HIGHLiquidFiles filetransfer server is vulnerable to a user enumeration issue in its password reset functionality. The application returns distiEPSS 0.8%CVE-2026-85500CRITICAL`require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthenticationEPSS 0.8%CVE-2026-111283CRITICALBMC Helix Network Management 26.3.00 before 26.3.01 Authentication Bypass via SAML ConfigurationEPSS 0.8%CVE-2023-1833CRITICALAuthentication Bypass in Redline RouterEPSS 0.8%CVE-2023-4501CRITICALAuthentication bypass in OpenText (Micro Focus) Enterprise ServerEPSS 0.8%CVE-2026-22153HIGHAn Authentication Bypass by Primary Weakness vulnerability [CWE-305] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.4 may allow an unauEPSS 0.7%