Falhas do tipo CWE-840

108 resultados

Falhas na Lógica de Negócio

É quando o código implementa corretamente as instruções, mas essas instruções não refletem corretamente as regras de negócio pretendidas. O atacante explora desvios entre o que o sistema *deveria* fazer e o que ele realmente faz para contornar controles, contabilidade ou autorização.

Exemplo

Um carrinho de compras que permite aplica cupom de desconto múltiplas vezes quando deveria aceitar apenas uma; ou um sistema de transferência bancária que não valida se a conta de destino pertence ao mesmo titular, permitindo movimentações não autorizadas entre contas.

Como mitigar

Valide regras de negócio no backend (nunca confie no frontend). Implemente testes que cobram cenários de abuso: cupons reutilizados, limites ultrapassados, estados inválidos. Mantenha auditoria de operações sensíveis e revise regularmente a lógica com especialistas de negócio.

CVE-2023-6566MEDIUMBusiness Logic Errors in microweber/microweberEPSS 0.5%CVE-2025-14559MEDIUMOrg.keycloak/keycloak-services: keycloak keycloak-services: business logic flaw allows unauthorized token issuance for disabled usersEPSS 0.5%CVE-2023-3228MEDIUMBusiness Logic Errors in fossbilling/fossbillingEPSS 0.5%CVE-2026-85030MEDIUMHKUDS AI-Trader selfRegister API Endpoint routes_agent.py logic errorEPSS 0.5%CVE-2025-2321MEDIUM274056675 springboot-openai-chatgpt addData logic errorEPSS 0.4%CVE-2026-82423MEDIUMmacrozheng mall Payment Status Endpoint paySuccess behavioral workflowEPSS 0.4%CVE-2026-19208MEDIUMWonderTrader TraderDD.cpp queryTrades behavioral workflowEPSS 0.4%CVE-2024-1682MEDIUMUnclaimed S3 Bucket Reference in psf/requests DocumentationEPSS 0.4%CVE-2024-6446LOWBusiness Logic Errors in GitLabEPSS 0.4%CVE-2024-6577MEDIUMUnclaimed S3 Bucket Usage in pytorch/serveEPSS 0.4%CVE-2025-1908HIGHBusiness Logic Errors in GitLabEPSS 0.4%CVE-2026-79406MEDIUMmacrozheng mall quantity OmsCartItemServiceImpl.updateQuantity logic errorEPSS 0.4%CVE-2024-45424MEDIUMZoom Workplace Apps - Business Logic ErrorEPSS 0.4%CVE-2026-19213MEDIUMWonderTrader Pending Order TraderAdapter.h _undone_qty behavioral workflowEPSS 0.4%CVE-2026-106070LOWA flaw in the Node.js `zlib.ZipFile` API can cause it to return bytes that do not belong to the requested entry after the local and central EPSS 0.4%CVE-2026-19993MEDIUMWebkul Bagisto RMA State Validation update-status behavioral workflowEPSS 0.4%CVE-2026-75081MEDIUMWebkul Bagisto store behavioral workflowEPSS 0.4%CVE-2026-19037MEDIUMWonderTrader Internal Limit Order Book Cache MatchEngine.cpp update_lob behavioral workflowEPSS 0.4%CVE-2025-8991MEDIUMlinlinjava litemall Business Logic express logic errorEPSS 0.4%CVE-2018-25104MEDIUMCoinGate Plugin Payment callback.php postProcess logic errorEPSS 0.4%