Falhas do tipo CWE-89

12.898 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-2025-1134CRITICALSQL Injection in ChurchCRM CurrentFundraiser Parameter via DonatedItemEditor.phpEPSS 0.8%CVE-2023-27254CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-26569CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-1059MEDIUMSourceCodester Doctors Appointment System Parameter doctors.php sql injectionEPSS 0.8%CVE-2022-45329HIGHAeroCMS v0.0.1 was discovered to contain a SQL Injection vulnerability via the Search parameter. This vulnerability allows attackers to acceEPSS 0.8%CVE-2023-26572CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2023-27255CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2022-45019HIGHSLiMS 9 Bulian v9.5.0 was discovered to contain a SQL injection vulnerability via the keywords parameter.EPSS 0.8%CVE-2023-1061MEDIUMSourceCodester Doctors Appointment System edit-doc.php sql injectionEPSS 0.8%CVE-2023-26568CRITICALUnauthenticated SQL Injection In IDAttend’s IDWeb ApplicationEPSS 0.8%CVE-2024-3424MEDIUMSourceCodester Online Courseware listscore.php sql injectionEPSS 0.8%CVE-2022-30619MEDIUMAgile Point - Agile Point NX SQL injection (SQLi)EPSS 0.8%CVE-2022-37773MEDIUMAn authenticated SQL Injection vulnerability in the statistics page (/statistics/retrieve) of Maarch RM 2.8, via the filter parameter, allowEPSS 0.8%CVE-2024-3456MEDIUMNetentsec NS-ASG Application Security Gateway config_Anticrack.php sql injectionEPSS 0.8%CVE-2024-3423MEDIUMSourceCodester Online Courseware activateteach.php sql injectionEPSS 0.8%CVE-2024-13038MEDIUMCodeAstro Simple Loan Management System Login index.php sql injectionEPSS 0.8%CVE-2024-3259MEDIUMSourceCodester Internship Portal Management System delete_activity.php sql injectionEPSS 0.8%CVE-2020-36768HIGHrl-institut NESP2 database.py sql injectionEPSS 0.8%CVE-2025-25354HIGHA SQL Injection was found in /admin/admin-profile.php in PHPGurukul Land Record System v1.0, which allows remote attackers to execute arbitrEPSS 0.8%CVE-2025-25356HIGHA SQL Injection vulnerability was found in /admin/bwdates-reports-details.php in PHPGurukul Land Record System v1.0, which allows remote attEPSS 0.8%