Falhas do tipo CWE-89

12.815 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-8669CRITICALBackuply – Backup, Restore, Migrate and Clone <= 1.3.4 - Authenticated (Admin+) SQL InjectionEPSS 16.6%CVE-2024-51818CRITICALWordPress Fancy Product Designer plugin <= 6.4.3 - Unauthenticated SQL Injection vulnerabilityEPSS 16.3%CVE-2024-8945MEDIUMCodeCanyon RISE Ultimate Project Manager save sql injectionEPSS 16.0%CVE-2025-57833HIGHAn issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection iEPSS 15.7%CVE-2024-38814HIGHAn authenticated SQL injection vulnerability in VMware HCX was privately reported to VMware. A malicious authenticated user with non-adminiEPSS 15.4%CVE-2022-47745HIGHZenTao 16.4 to 18.0.beta1 is vulnerable to SQL injection. After logging in with any user, you can complete SQL injection by constructing a sEPSS 15.4%CVE-2021-33733A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 15.4%CVE-2022-0747Infographic Maker - iList < 4.3.8 - Unauthenticated SQL InjectionEPSS 14.9%CVE-2022-0434Page Views Count < 2.4.15 - Unauthenticated SQL InjectionEPSS 14.8%CVE-2021-24285Car Seller - Auto Classifieds Script <= 2.1.0 - Unauthenticated SQL InjectionEPSS 14.7%CVE-2022-3142NEX-Forms < 7.9.7 - Authenticated SQLiEPSS 14.6%CVE-2021-3958CRITICALSQL Injection Vulnerability in Ipack SCADA SoftwareEPSS 14.5%CVE-2022-38488CRITICALlogrocket-oauth2-example through 2020-05-27 allows SQL injection via the /auth/register username parameter.EPSS 14.2%CVE-2023-33584CRITICALSourcecodester Enrollment System Project V1.0 is vulnerable to SQL Injection (SQLI) attacks, which allow an attacker to manipulate the SQL qEPSS 14.2%CVE-2022-3792CRITICALSQL Injection in GullsEye Terminal Operating SystemEPSS 14.2%CVE-2025-26086HIGHAn unauthenticated blind SQL injection vulnerability exists in RSI Queue Management System v3.0 within the TaskID parameter of the get requeEPSS 14.1%CVE-2020-7356CRITICALCayin xPost SQL InjectionEPSS 14.0%CVE-2024-7009MEDIUMCalibre SQL InjectionEPSS 13.9%CVE-2023-50071HIGHSourcecodester Customer Support System 1.0 has multiple SQL injection vulnerabilities in /customer_support/ajax.php?action=save_department vEPSS 13.8%CVE-2024-8309MEDIUMSQL Injection in langchain-ai/langchainEPSS 13.7%