Fallos del tipo CWE-372

12 resultados

Distinção incompleta de estados internos

A aplicação não consegue diferenciar adequadamente entre dois ou mais estados internos legítimos, causando comportamentos imprevistos quando transita entre eles. Isso ocorre porque a lógica não verifica ou não mantém controle suficiente sobre qual estado a aplicação está, permitindo operações que deveriam ser restritas a um estado específico.

Ejemplo

Um sistema de pagamento que não distingue corretamente entre 'pagamento processado' e 'pagamento aguardando confirmação'. Se um atacante conseguir desencadear uma ação de reembolso enquanto o estado interno está ambíguo, ele pode conseguir reembolso duas vezes pela mesma transação.

Cómo mitigar

Implemente máquinas de estado explícitas e bem definidas, validando transições legítimas em cada operação. Use flags ou enums para rastrear estado atual e sempre verifique o estado esperado antes de executar ações sensíveis.

CVE-2021-25735MEDIUMValidating Admission Webhook does not observe some previous fieldsEPSS 5.4%CVE-2023-31127CRITICALDMTF-2023-0001: SPDM mutual authentication bypassEPSS 0.9%CVE-2020-27222—In Eclipse Californium version 2.3.0 to 2.6.0, the certificate based (x509 and RPK) DTLS handshakes accidentally fails, because the DTLS serEPSS 0.9%CVE-2024-22590CRITICALThe TLS engine in Kwik commit 745fd4e2 does not track the current state of the connection. This vulnerability can allow Client Hello messageEPSS 0.6%CVE-2026-84897MEDIUMwolfSSH server accepts server-to-client DH group exchange messages from an unauthenticated client, causing pre-authentication primality-test CPU exhaustion and key exchange role confusionEPSS 0.5%CVE-2023-4012HIGHIncomplete Internal State Distinction in ntpsecEPSS 0.4%CVE-2023-54406MEDIUMFrappe before 14.59.0 Safe Execution Flag Bypass in Server ScriptsEPSS 0.3%CVE-2026-41388MEDIUMOpenClaw < 2026.3.31 - Configuration Rehydration via Empty-Array Revocation HandlingEPSS 0.3%CVE-2023-36834MEDIUMJunos OS: SRX 4600 and SRX 5000 Series: The receipt of specific genuine packets by SRXes configured for L2 transparency will cause a DoSEPSS 0.3%CVE-2026-41340MEDIUMOpenClaw < 2026.3.31 - Authentication Boundary Bypass via Telegram Legacy allowFrom MigrationEPSS 0.3%CVE-2026-41300MEDIUMOpenClaw < 2026.3.31 - Preservation of Attacker-Discovered Endpoints in Remote OnboardingEPSS 0.3%CVE-2026-119140MEDIUMWasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Host Panic via thread.yieldEPSS 0.2%