Falhas do tipo CWE-89

12.888 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-2024-50389CRITICALQuRouterEPSS 0.8%CVE-2022-25607MEDIUMWordPress FV Flowplayer Video Player plugin <= 7.5.15.727 - SQL Injection (SQLi) vulnerabilityEPSS 0.8%CVE-2023-4176MEDIUMSourceCodester Hospital Management System appointmentapproval.php sql injectionEPSS 0.8%CVE-2023-4179MEDIUMSourceCodester Free Hospital Management System for Small Practices sql injectionEPSS 0.8%CVE-2023-2596MEDIUMSourceCodester Online Reviewer System GET Parameter user-update.php sql injectionEPSS 0.8%CVE-2023-2595MEDIUMSourceCodester Billing Management System POST Parameter ajax_service.php sql injectionEPSS 0.8%CVE-2024-2074MEDIUMMini-Tmall 1 sql injectionEPSS 0.8%CVE-2022-43213CRITICALBilling System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at editorder.php.EPSS 0.8%CVE-2022-42245CRITICALDreamer CMS 4.0.01 is vulnerable to SQL Injection.EPSS 0.8%CVE-2023-49708—Extension - joomstar.com - SQLi vulnerability in Starshop component for Joomla 1.0.0-1.0.9EPSS 0.8%CVE-2024-29872CRITICALSQL injection vulnerability in SentrifugoEPSS 0.8%CVE-2023-49707—Extension - joomlart.com - SQLi vulnerability in S5 Register module for Joomla 1.0.0-3.0.0EPSS 0.8%CVE-2024-29873CRITICALSQL injection vulnerability in SentrifugoEPSS 0.8%CVE-2023-40629—Extension - king-products.net - SQLi vulnerability in LMS Lite component for Joomla 1.0.0-3.3.0.1EPSS 0.8%CVE-2022-0754HIGHSQL Injection in salesagility/suitecrmEPSS 0.8%CVE-2023-2689MEDIUMSourceCodester Billing Management System GET Parameter editproduct.php sql injectionEPSS 0.8%CVE-2024-3041MEDIUMNetentsec NS-ASG Application Security Gateway listloginfo.php sql injectionEPSS 0.8%CVE-2023-2690MEDIUMSourceCodester Personnel Property Equipment System GET Parameter returned_reuse_form.php sql injectionEPSS 0.8%CVE-2025-22974CRITICALSQL Injection vulnerability in SeaCMS v.13.2 and before allows a remote attacker to execute arbitrary code via the DoTranExecSql parameter iEPSS 0.8%CVE-2025-62392MEDIUMSQL injection in Ivanti Endpoint Manager before version 2024 SU5 allows a remote authenticated attacker to read arbitrary data from the dataEPSS 0.8%