Falhas do tipo CWE-89

12.948 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-9460MEDIUMCodezips Online Shopping Portal index.php sql injectionEPSS 0.7%CVE-2024-2804CRITICALNetwork Summary <= 2.0.11 - Unauthenticated SQL InjectionEPSS 0.7%CVE-2021-38239HIGHSQL Injection vulnerability in dataease before 1.2.0, allows attackers to gain sensitive information via the orders parameter to /api/sys_msEPSS 0.7%CVE-2024-2073MEDIUMSourceCodester Block Inserter for Dynamic Content view_post.php sql injectionEPSS 0.7%CVE-2023-5787HIGHShaanxi Chanming Education Technology Score Query System sql injectionEPSS 0.7%CVE-2024-36039MEDIUMPyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.EPSS 0.7%CVE-2025-59389HIGHHyper Data ProtectorEPSS 0.7%CVE-2015-10084MEDIUMirontec klear-library BaseController.php _prepareWhere sql injectionEPSS 0.7%CVE-2021-4301MEDIUMslackero phpwcms sql injectionEPSS 0.7%CVE-2020-3378MEDIUMCisco SD-WAN vManage Software SQL Injection VulnerabilityEPSS 0.7%CVE-2024-11589MEDIUMitsourcecode Tailoring Management System expcatedit.php sql injectionEPSS 0.7%CVE-2025-32857HIGHA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 0.7%CVE-2026-47296HIGHMicrosoft SQL Server Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2023-39980HIGHMXsecurity Authenticated Information Disclosure Due to SQL InjectionEPSS 0.7%CVE-2023-25960CRITICALWordPress Zendrop – Global Dropshipping Plugin <= 1.0.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-25800HIGHWordPress Tutor LMS Plugin <= 2.2.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2024-25217HIGHOnline Medicine Ordering System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /omos/?p=products/view_EPSS 0.7%CVE-2024-7279MEDIUMSourceCodester Lot Reservation Management System sql injectionEPSS 0.7%CVE-2024-47484HIGHDell Avamar, versions prior to 19.12 with patch 338905, excluding 19.10 and 19.10SP1 with patch 338869, contains an Improper Neutralization EPSS 0.7%CVE-2024-2941MEDIUMCampcodes Online Examination System loginExe.php sql injectionEPSS 0.7%