Weaknesses of type CWE-565

45 results

Confiança em Cookies sem Validação e Verificação de Integridade

A aplicação aceita e processa valores de cookies enviados pelo cliente sem validar sua origem ou verificar se foram alterados. Um atacante pode modificar o cookie no navegador (ou via ataque Man-in-the-Middle) e injetar dados maliciosos que a aplicação processará como confiáveis, levando a bypasses de autenticação, elevação de privilégio ou corrupção de lógica de negócio.

Example

Um e-commerce armazena o ID do usuário em um cookie `user_id=123` sem assinatura. O atacante altera para `user_id=999` (conta admin) e a aplicação o promove automaticamente sem verificar se o cookie foi realmente emitido pelo servidor — resultado: acesso não autorizado.

How to mitigate

Sempre assine cookies com HMAC ou use tokens JWT com assinatura criptográfica verificada no servidor; adicione flags `Secure` e `HttpOnly`; valide e sanitize todo valor de cookie antes de usar em decisões críticas (autenticação, autorização, etc.); considere usar session storage no servidor em vez de delegar estado completo ao cliente.

CVE-2024-9970HIGHNewType FlowMaster BPM Plus - Privilege EscalationEPSS 0.6%CVE-2024-21583MEDIUMVersions of the package github.com/gitpod-io/gitpod/components/server/go/pkg/lib before main-gha.27122; versions of the package github.com/gEPSS 0.6%CVE-2025-2395CRITICALe-Excellence U-Office Force - Improper AuthenticationEPSS 0.6%CVE-2022-50926HIGHWAGO 750-8212 PFC200 G2 2ETH RS Privilege EscalationEPSS 0.6%CVE-2021-47706HIGHCOMMAX Biometric Access Control System Authentication BypassEPSS 0.6%CVE-2024-21872HIGHElectrolink FM/DAB/TV Transmitter Reliance on Cookies without Validation and Integrity CheckingEPSS 0.6%CVE-2024-22186HIGHElectrolink FM/DAB/TV Transmitter Reliance on Cookies without Validation and Integrity CheckingEPSS 0.5%CVE-2024-0947CRITICALCookies Manipulation in Talya Informatics' ElektrawebEPSS 0.5%CVE-2025-31120MEDIUMNamelessMC Vulnerable to Cookie-Based View Count ManipulationEPSS 0.5%CVE-2021-33842HIGHCircutor SGE-PLC1000 improper authenticationEPSS 0.4%CVE-2026-69215MEDIUMHttp4s: CookieJar middleware matches by substring, leaking cookies cross-originEPSS 0.4%CVE-2026-5130HIGHDebugger & Troubleshooter <= 1.3.2 - Unauthenticated Privilege Escalation to Administrator via Cookie ManipulationEPSS 0.4%CVE-2026-85181CRITICALCAT through 3.1.0 Session Cookie Forgery via Unkeyed hashCode ChecksumEPSS 0.4%CVE-2021-20450MEDIUMIBM Cognos Controller information disclosureEPSS 0.4%CVE-2026-53871HIGHHermes WebUI < 0.51.368 - Profile-Scoped Authorization Bypass via Forged hermes_profile CookieEPSS 0.4%CVE-2024-28233HIGHXSS in JupyterHub via Self-XSS leveraged by Cookie TossingEPSS 0.3%CVE-2023-45128CRITICALCSRF Token Reuse Vulnerability in fiberEPSS 0.3%CVE-2025-48980MEDIUMIn Brave Browser Desktop versions prior to 1.83.10 that have the split view feature enabled, the "Open Link in Split View" context menu itemEPSS 0.3%CVE-2026-75757HIGHAshAdmin cookie reader matches names by substring, enabling actor/session shadowing from a sibling subdomainEPSS 0.3%CVE-2024-55211HIGHAn issue in Think Router Tk-Rt-Wr135G V3.0.2-X000 allows attackers to bypass authentication via a crafted cookie.EPSS 0.3%