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-2022-1367CRITICALDelta Electronics DIAEnergie (All versions prior to 1.8.02.004) has a blind SQL injection vulnerability exists in Handler_TCV.ashx. This allEPSS 19.3%CVE-2022-1378CRITICALDelta Electronics DIAEnergie (All versions prior to 1.8.02.004) has a blind SQL injection vulnerability exists in DIAE_pgHandler.ashx. This EPSS 19.3%CVE-2024-31750CRITICALSQL injection vulnerability in f-logic datacube3 v.1.0 allows a remote attacker to obtain sensitive information via the req_id parameter.EPSS 19.3%CVE-2014-0763Advantech WebAccess SQL InjectionEPSS 19.2%CVE-2024-32501CRITICALA SQL Injection vulnerability exists in the updateServiceHost functionality in Centreon Web 24.04.x before 24.04.3, 23.10.x before 23.10.13,EPSS 19.2%CVE-2024-32461HIGHLibreNMS vulnerable to time-based SQL injection that leads to database extractionEPSS 19.1%CVE-2024-21514HIGHThis affects versions of the package opencart/opencart from 0.0.0. An SQL Injection issue was identified in the Divido payment extension forEPSS 19.1%CVE-2024-6671CRITICALWhatsUp Gold GetStatisticalMonitorList SQL Injection Authentication Bypass VulnerabilityEPSS 19.0%CVE-2026-20947HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 18.8%CVE-2023-0324HIGHSourceCodester Online Tours & Travels Management System page-login.php sql injectionEPSS 18.8%CVE-2024-21901MEDIUMmyQNAPcloudEPSS 18.7%CVE-2021-38393A Blind SQL injection vulnerability exists in the /DataHandler/HandlerAlarmGroup.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5EPSS 18.5%CVE-2024-2330MEDIUMNetentsec NS-ASG Application Security Gateway index.php sql injectionEPSS 17.6%CVE-2021-24786HIGHDownload Monitor < 4.4.5 - Admin+ SQL InjectionEPSS 17.3%CVE-2021-32789HIGHArbitrary SQL (SQL injection) possible via the Store API component.EPSS 17.2%CVE-2021-25076WP User Frontend < 3.5.26 - SQL Injection to Reflected Cross-Site ScriptingEPSS 17.1%CVE-2025-12197HIGHThe Events Calendar 6.15.1.1 - 6.15.9 - Unauthenticated SQL Injection via sEPSS 17.1%CVE-2023-7137MEDIUMcode-projects Client Details System HTTP POST Request sql injectionEPSS 17.0%CVE-2023-30149CRITICALSQL injection vulnerability in the City Autocomplete (cityautocomplete) module from ebewe.net for PrestaShop, prior to version 1.8.12 (for PEPSS 16.9%CVE-2023-5322MEDIUMD-Link DAR-7000 edit_manageadmin.php sql injectionEPSS 16.7%