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-6010MEDIUMCodeAstro Online Classroom takeassessment2.php sql injectionEPSS 0.3%CVE-2026-8097MEDIUMCodeAstro Online Classroom askquery.php sql injectionEPSS 0.3%CVE-2026-7266MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php save_order sql injectionEPSS 0.3%CVE-2026-9305MEDIUMQuantumNous new-api self Endpoint topup.go SearchAllTopUps 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-86170MEDIUMDefaultFuction CRM edit.php sql injectionEPSS 0.3%CVE-2026-5636MEDIUMPHPGurukul Online Shopping Portal Project Parameter cancelorder.php sql injectionEPSS 0.3%CVE-2026-8125MEDIUMcode-projects Simple Chat System sendMessage.php sql injectionEPSS 0.3%CVE-2026-7118MEDIUMcode-projects Employee Management System cancel.php sql injectionEPSS 0.3%CVE-2026-7672MEDIUMyoulaitech youlai-boot Users Endpoint UserController.java getUserList sql injectionEPSS 0.3%CVE-2026-6190MEDIUMitsourcecode Construction Management System employees.php sql injectionEPSS 0.3%CVE-2026-5649MEDIUMcode-projects Online Application System for Admission Endpoint admsnform.php sql injectionEPSS 0.3%CVE-2026-6006MEDIUMcode-projects Patient Record Management System edit_hpatient.php sql injectionEPSS 0.3%CVE-2026-7265MEDIUMSourceCodester Pizzafy Ecommerce System index.php category sql injectionEPSS 0.3%CVE-2026-7148MEDIUMCodeAstro Online Classroom addnewfaculty sql injectionEPSS 0.3%CVE-2026-5587MEDIUMwbbeyourself MAC-SQL Refiner Agent agents.py _execute_sql sql injectionEPSS 0.3%CVE-2026-5675MEDIUMitsourcecode Construction Management System Parameter borrowed_tool.php sql injectionEPSS 0.3%CVE-2026-5823MEDIUMitsourcecode Construction Management System borrowed_tool_report.php sql injectionEPSS 0.3%CVE-2026-7731MEDIUMcode-projects BloodBank Managing System get_state.php sql injectionEPSS 0.3%CVE-2026-7410MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php add_to_cart sql injectionEPSS 0.3%