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-2022-2577MEDIUMSourceCodester Garage Management System edituser.php sql injectionEPSS 0.7%CVE-2015-10086HIGHOpenCycleCompass server-php login.php sql injectionEPSS 0.7%CVE-2024-28393CRITICALSQL injection vulnerability in scalapay v.1.2.41 and before allows a remote attacker to escalate privileges via the ScalapayReturnModuleFronEPSS 0.7%CVE-2024-7201CRITICALSimopro Technology WinMatrix3 Web package - SQL InjectionEPSS 0.7%CVE-2024-28395CRITICALSQL injection vulnerability in Best-Kit bestkit_popup v.1.7.2 and before allows a remote attacker to escalate privileges via the bestkit_popEPSS 0.7%CVE-2025-66169MEDIUMApache Camel Neo4j: Cypher injection vulnerability in Camel-Neo4j componentEPSS 0.7%CVE-2023-35910HIGHWordPress Quasar form Plugin <= 6.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2024-7202CRITICALSimopro Technology WinMatrix3 Web package - SQL InjectionEPSS 0.7%CVE-2022-46860HIGHWordPress Short URL Plugin <= 1.6.4 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-44267CRITICALOnline Art Gallery v1.0 - Multiple Unauthenticated SQL Injections (SQLi)EPSS 0.7%CVE-2023-5827MEDIUMShanghai CTI Navigation CTI Monitoring and Early Warning System UserEdit.aspx sql injectionEPSS 0.7%CVE-2024-33275CRITICALSQL injection vulnerability in Webbax supernewsletter v.1.4.21 and before allows a remote attacker to escalate privileges via the Super NewsEPSS 0.7%CVE-2024-2351MEDIUMCodeAstro Ecommerce Site Search action.php sql injectionEPSS 0.7%CVE-2024-3067HIGHWooCommerce Google Feed Manager <= 2.4.2 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site ScriptingEPSS 0.7%CVE-2024-2724CRITICALSQL injection vulnerability in the CIGESv2 systemEPSS 0.7%CVE-2023-7123MEDIUMSourceCodester Medicine Tracking System sql injectionEPSS 0.7%CVE-2024-13008MEDIUMcode-projects Responsive Hotel Site newsletter.php sql injectionEPSS 0.7%CVE-2026-54354HIGHMapServer: PostGIS Numeric Filter Value SQL Injection in MapServer Runtime Query TranslationEPSS 0.7%CVE-2022-1080HIGHSourceCodester One Church Management System attendancy.php sql injectionEPSS 0.7%CVE-2026-72565CRITICALTencent APIJSON - Unauthenticated SQL Injection via @having Operator Map-Form BypassEPSS 0.7%