Weaknesses of type CWE-565

51 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-2023-32612—Client-side enforcement of server-side security issue exists in WL-WN531AX2 firmware versions prior to 2023526, which may allow an attacker EPSS 0.7%CVE-2021-41263HIGHSecure/signed cookies share secrets between sites in rails_multisiteEPSS 0.6%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-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-2022-50926HIGHWAGO 750-8212 PFC200 G2 2ETH RS Privilege EscalationEPSS 0.5%CVE-2026-75757HIGHAshAdmin cookie reader matches names by substring, enabling actor/session shadowing from a sibling subdomainEPSS 0.5%CVE-2026-69215MEDIUMHttp4s: CookieJar middleware matches by substring, leaking cookies cross-originEPSS 0.5%CVE-2025-31120MEDIUMNamelessMC Vulnerable to Cookie-Based View Count ManipulationEPSS 0.5%CVE-2024-0947CRITICALCookies Manipulation in Talya Informatics' ElektrawebEPSS 0.5%CVE-2026-5130HIGHDebugger & Troubleshooter <= 1.3.2 - Unauthenticated Privilege Escalation to Administrator via Cookie ManipulationEPSS 0.4%CVE-2021-33842HIGHCircutor SGE-PLC1000 improper authenticationEPSS 0.4%CVE-2026-101287CRITICALAuthentication bypass in Stela by Diaple NetworkingEPSS 0.4%CVE-2026-69214MEDIUMHttp4s: CookieJar middleware accepts arbitrary Set-Cookie domainEPSS 0.4%CVE-2026-111749LOWAIOHTTP: Cookie from subdomain can remove Host-Only Scope from existing cookiesEPSS 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%