Fallos del tipo CWE-840

108 resultados

Erros de Lógica de Negócio

É quando o código implementa corretamente a sintaxe, mas a lógica por trás não reflete as regras de negócio esperadas — permitindo operações que deveriam ser bloqueadas ou produzindo resultados incorretos. O atacante explora brechas nessas regras para contornar controles, duplicar recursos, ou chegar a estados inválidos.

Ejemplo

Um e-commerce que valida se o preço é positivo, mas não valida se o desconto pode ser maior que o preço final, permitindo que o cliente pague valor negativo. Ou um sistema que transfere saldo entre contas sem verificar se o saldo é suficiente antes de débito.

Cómo mitigar

Defina explicitamente as regras de negócio (pré e pós-condições), documente-as e implemente testes automatizados que cobram cada cenário — incluindo casos extremos e cenários de ataque. Revise a lógica de autenticação, autorização e transações críticas com produto e segurança.

CVE-2026-108784MEDIUMmacrozheng mall Payment Endpoint AlipayServiceImpl.java AlipayServiceImpl.pay logic errorEPSS 0.3%CVE-2026-112028MEDIUMlight0011 cms Vote VoteController.class.php logic errorEPSS 0.3%CVE-2025-13239MEDIUMBdtask/CodeCanyon Isshue Multi Store eCommerce Shopping Cart Solution submit_checkout behavioral workflowEPSS 0.3%CVE-2026-8738MEDIUMSanluan PublicCMS Trade Payment Flow TradeOrderController.java AccountGatewayComponent.pay logic errorEPSS 0.3%CVE-2026-82982MEDIUMThe Approval app's approve/reject endpoint is meant to require the file's current etag as a freshness check, preventing an approver from appEPSS 0.3%CVE-2026-1599MEDIUMBdtask Bhojon All-In-One Restaurant Management System Checkout placeorder logic errorEPSS 0.3%CVE-2025-6601LOWBusiness Logic Errors in GitLabEPSS 0.3%CVE-2025-2938LOWBusiness Logic Errors in GitLabEPSS 0.3%CVE-2025-4037MEDIUMcode-projects ATM Banking moneyWithdraw logic errorEPSS 0.3%CVE-2026-1322MEDIUMBusiness Logic Errors in GitLabEPSS 0.3%CVE-2023-6514HIGH The Bluetooth module of some Huawei Smart Screen products has an identity authentication bypass vulnerability. Successful exploitation of tEPSS 0.3%CVE-2026-1274MEDIUMIBM Guardium Data Protection is affected by multiple vulnerabilitiesEPSS 0.3%CVE-2026-1600MEDIUMBdtask Bhojon All-In-One Restaurant Management System Add-to-Cart Submission Endpoint addtocart logic errorEPSS 0.3%CVE-2026-77166LOWThe emoji field in the page emoji update endpoint does not properly validate user input. By injecting long text and line breaks, the sidebarEPSS 0.3%CVE-2025-10868LOWBusiness Logic Errors in GitLabEPSS 0.3%CVE-2026-109406MEDIUMmacrozheng mall mall-portal generateOrder OmsPortalOrderServiceImpl logic errorEPSS 0.3%CVE-2026-5812MEDIUMSourceCodester Pharmacy Product Management System POST Parameter add-sales.php logic errorEPSS 0.3%CVE-2026-5811MEDIUMSourceCodester Online Food Ordering System POST Parameter Actions.php save_product logic errorEPSS 0.3%CVE-2026-115248MEDIUMsubhajitkhan online-clinic-management-system Booking patappointtime.php behavioral workflowEPSS 0.3%CVE-2024-1456HIGHS3 Bucket Takeover in h2oai/h2o-3EPSS 0.2%