Falhas do tipo CWE-89

12.820 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-2022MEDIUMNetentsec NS-ASG Application Security Gateway list_ipAddressPolicy.php sql injectionEPSS 8.5%CVE-2025-7624CRITICALAn SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to rEPSS 8.5%CVE-2024-28040HIGHDelta Electronics DIAEnergie SQL injectionEPSS 8.5%CVE-2024-23494HIGHDelta Electronics DIAEnergie SQL injectionEPSS 8.5%CVE-2024-29828HIGHAn unspecified SQL Injection vulnerability in Core server of Ivanti EPM 2022 SU5 and prior allows an authenticated attacker within the same EPSS 8.5%CVE-2024-29830HIGHAn unspecified SQL Injection vulnerability in Core server of Ivanti EPM 2022 SU5 and prior allows an authenticated attacker within the same EPSS 8.5%CVE-2024-29846HIGHAn unspecified SQL Injection vulnerability in Core server of Ivanti EPM 2022 SU5 and prior allows an authenticated attacker within the same EPSS 8.5%CVE-2024-23975HIGHDelta Electronics DIAEnergie SQL injectionEPSS 8.5%CVE-2024-25937HIGHDelta Electronics DIAEnergie SQL injectionEPSS 8.5%CVE-2024-28891HIGHDelta Electronics DIAEnergie SQL injectionEPSS 8.5%CVE-2021-24849WCFM - WooCommerce Multivendor Marketplace < 3.4.12 - Unauthenticated SQL InjectionEPSS 8.5%CVE-2023-1545HIGH SQL Injection in nilsteampassnet/teampassEPSS 8.4%CVE-2022-0769Users Ultra <= 3.1.0 - Unauthenticated SQL InjectionEPSS 8.3%CVE-2024-36837MEDIUMSQL Injection vulnerability in CRMEB v.5.2.2 allows a remote attacker to obtain sensitive information via the getProductList function in theEPSS 8.3%CVE-2026-26263HIGHGLPI has an Unauthenticated SQL Injection via Search engineEPSS 8.3%CVE-2024-29829HIGHAn unspecified SQL Injection vulnerability in Core server of Ivanti EPM 2022 SU5 and prior allows an authenticated attacker within the same EPSS 8.2%CVE-2021-39165HIGHUnauthenticated SQL InjectionEPSS 8.2%CVE-2022-1057Pricing Deals for WooCommerce <= 2.0.2.02 - Unauthenticated SQLiEPSS 8.1%CVE-2023-1934CRITICALThe PnPSCADA system, a product of SDG Technologies CC, is afflicted by a critical unauthenticated error-based PostgreSQL Injection vulnerabiEPSS 8.1%CVE-2022-0788WP Fundraising Donation and Crowdfunding Platform < 1.5.0 - Unauthenticated SQLiEPSS 7.9%