Falhas do tipo CWE-92

34 resultados

Verificação inadequada de condições

Ocorre quando o código não valida corretamente as condições antes de executar operações críticas, permitindo que estados inválidos ou inesperados passem despercebidos. O desenvolvedor assume que certos pré-requisitos são atendidos, mas não os testa de fato, deixando brechas para lógica de segurança falhar.

Exemplo

Um sistema verifica se o usuário está logado, mas apenas testa uma flag booleana sem validar se o token não expirou ou se a sessão ainda é válida. Um atacante reutiliza um token antigo e consegue acesso indevido porque a condição de 'usuário autenticado' foi verificada de forma incompleta.

Como mitigar

Implemente verificações de condição explícitas e exaustivas: valide todos os pré-requisitos necessários antes de executar operações sensíveis, use assertions ou guardiões de lógica, e não confie em suposições implícitas sobre o estado da aplicação. Testes unitários e de segurança devem cobrir casos onde as condições esperadas não são atendidas.

CVE-2024-21808LOWImproper buffer restrictions in some Intel(R) VPL software before version 24.1.4 may allow an authenticated user to potentially enable escalEPSS 0.2%CVE-2023-32656MEDIUMImproper buffer restrictions in some Intel(R) RealSense(TM) ID software for Intel(R) RealSense(TM) 450 FA in version 0.25.0 may allow an autEPSS 0.2%CVE-2024-34170MEDIUMImproper buffer restrictions in some Intel(R) Graphics Drivers may allow an authenticated user to potentially enable denial of service via lEPSS 0.2%CVE-2023-33867MEDIUMImproper buffer restrictions in some Intel(R) RealSense(TM) ID software for Intel(R) RealSense(TM) 450 FA in version 0.25.0 may allow an autEPSS 0.2%CVE-2024-23919MEDIUMImproper buffer restrictions in some Intel(R) Graphics software may allow an authenticated user to potentially enable escalation of privilegEPSS 0.2%CVE-2022-27879MEDIUMImproper buffer restrictions in the BIOS firmware for some Intel(R) Processors may allow a privileged user to potentially enable informationEPSS 0.2%CVE-2023-24589MEDIUMImproper buffer restrictions in some Intel(R) Thunderbolt(TM) DCH drivers for Windows before version 88 may allow a privileged user to potenEPSS 0.2%CVE-2024-24580MEDIUMImproper conditions check in some Intel(R) Data Center GPU Max Series 1100 and 1550 products may allow a privileged user to potentially enabEPSS 0.2%CVE-2022-36372HIGHImproper buffer restrictions in some Intel(R) NUC BIOS firmware may allow a privileged user to potentially enable escalation of privilege viEPSS 0.2%CVE-2023-27506MEDIUMImproper buffer restrictions in the Intel(R) Optimization for Tensorflow software before version 2.12 may allow an authenticated user to potEPSS 0.2%CVE-2023-43753MEDIUMImproper conditions check in some Intel(R) Processors with Intel(R) SGX may allow a privileged user to potentially enable information discloEPSS 0.2%CVE-2023-42429HIGHImproper buffer restrictions in some Intel NUC BIOS firmware may allow a privileged user to potentially enable escalation of privilege via lEPSS 0.2%CVE-2023-28722MEDIUMImproper buffer restrictions for some Intel NUC BIOS firmware before version IN0048 may allow a privileged user to potentially enable escalaEPSS 0.1%CVE-2024-25562MEDIUMImproper buffer restrictions in some Intel(R) Distribution for GDB software before version 2024.0.1 may allow an authenticated user to potenEPSS 0.1%