Weaknesses of type CWE-696

54 results

Ordem incorreta de operações de segurança

Ocorre quando o código executa operações em sequência errada, permitindo que uma ação de segurança seja contornada. Por exemplo, validar entrada *depois* de usá-la, ou verificar permissão *depois* de acessar o recurso. O impacto varia conforme o contexto, mas geralmente expõe a aplicação a falhas de autenticação, autorização ou integridade de dados.

Example

Um sistema que processa um arquivo enviado pelo usuário antes de verificar se ele é malicioso, ou que libera acesso a um recurso e só depois verifica se o usuário tinha permissão. Em ambos os casos, o dano já ocorreu antes da validação.

How to mitigate

Estabeleça uma ordem clara de operações: validação e verificação de segurança *sempre* vêm primeiro, antes de qualquer ação crítica. Use listas de verificação (checklists) no código, revise o fluxo com foco em dependências de segurança e implemente testes que forçam execução fora da ordem esperada para detectar essas falhas.

CVE-2024-45157MEDIUMAn issue was discovered in Mbed TLS before 2.28.9 and 3.x before 3.6.1, in which the user-selected algorithm is not used. Unlike previously EPSS 0.2%CVE-2024-24853HIGHIncorrect behavior order in transition between executive monitor and SMI transfer monitor (STM) in some Intel(R) Processor may allow a priviEPSS 0.2%CVE-2026-33305MEDIUMOpenEMR has Authorization Bypass in FaxSMS AppDispatch ConstructorEPSS 0.2%CVE-2026-59305LOWPartition interceptor may be improperly added while sending messageEPSS 0.2%CVE-2026-93330MEDIUMImproper rule enforcement in the PAM Active Directory provider in Devolutions Server 2026.3.5 allows a user with PAM edit permissions to bypEPSS 0.2%CVE-2021-47688MEDIUMIn WhiteBeam 0.2.0 through 0.2.1 before 0.2.2, a user with local access to a server can bypass the allow-list functionality because a file cEPSS 0.2%CVE-2026-103353MEDIUMWordPress FluentForm plugin <= 6.2.14 - Broken Access Control vulnerabilityEPSS 0.2%CVE-2026-110450HIGHNix before 2.35.3 and Lix before 2.95.4 allow privilege escalation via a repair operation because it could destroy and then replace a store EPSS 0.2%CVE-2026-93304MEDIUM(D)TLS 1.2 client accepts early ChangeCipherSpec before ClientKeyExchangeEPSS 0.2%CVE-2026-49317LOWIndian Scout Bobber 2025 Infotainment Digital Round skips PIN entry when WCM is silent at bootEPSS 0.1%CVE-2026-49318LOWIndian Scout Bobber 2025 Infotainment Digital Round skips PIN entry when WCM is silent at bootEPSS 0.1%CVE-2026-105745MEDIUMDocling: Plugin entry points are imported before the allow_external_plugins checkEPSS 0.1%CVE-2026-103012LOWClaude Code selected an API key stored by Claude Code, for example from an earlier `/login` or written directly to its configuration, ahead EPSS 0.1%CVE-2026-40223MEDIUMIn systemd 258 before 260, a local unprivileged user can trigger an assert when a Delegate=yes and User=<unset> unit exists and is running.EPSS 0.1%