Falhas do tipo CWE-89

13.391 resultados

Injeção de SQL

Fraqueza onde entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

CVE-2026-6005MEDIUMcode-projects Patient Record Management System hematology_print.php sql injectionEPSS 0.3%CVE-2026-8125MEDIUMcode-projects Simple Chat System sendMessage.php sql injectionEPSS 0.3%CVE-2026-5636MEDIUMPHPGurukul Online Shopping Portal Project Parameter cancelorder.php sql injectionEPSS 0.3%CVE-2026-5640MEDIUMPHPGurukul Online Shopping Portal Project Parameter update-image2.php sql injectionEPSS 0.3%CVE-2026-86170MEDIUMDefaultFuction CRM edit.php sql injectionEPSS 0.3%CVE-2026-18766MEDIUMchetans9 core-php-admin-panel customers.php sql injectionEPSS 0.3%CVE-2025-56407HIGHA vulnerability has been found in HuangDou UTCMS V9 and classified as critical. This vulnerability affects the function RunSql of the file aEPSS 0.3%CVE-2026-9305MEDIUMQuantumNous new-api self Endpoint topup.go SearchAllTopUps sql injectionEPSS 0.3%CVE-2026-7266MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php save_order sql injectionEPSS 0.3%CVE-2026-7196MEDIUMCodeAstro Online Classroom guestdetails sql injectionEPSS 0.3%CVE-2026-5206MEDIUMcode-projects Simple Gym Management System Payment sql injectionEPSS 0.3%CVE-2026-12776MEDIUMMontodel House-Rental-Management index.php houses sql injectionEPSS 0.3%CVE-2026-8097MEDIUMCodeAstro Online Classroom askquery.php sql injectionEPSS 0.3%CVE-2026-19354MEDIUMlock-upme OPMS IN Clause message.go sql injectionEPSS 0.3%CVE-2024-45767MEDIUMDell OpenManage Enterprise, version(s) OME 4.1 and prior, contain(s) an Improper Neutralization of Special Elements used in an SQL Command (EPSS 0.3%CVE-2026-6010MEDIUMCodeAstro Online Classroom takeassessment2.php sql injectionEPSS 0.3%CVE-2026-5563MEDIUMAutohomeCorp frostmourne Alarm Preview previewData httpTest sql injectionEPSS 0.3%CVE-2026-90511MEDIUMGongShengyue OnlineBooks listSplit BooksServlet.java sql injectionEPSS 0.3%CVE-2025-48891HIGHAdvantech iView SQL InjectionEPSS 0.3%CVE-2026-5553MEDIUMitsourcecode Online Cellphone System Parameter available.php sql injectionEPSS 0.3%