Fallos del tipo CWE-89

12.960 resultados

Injeção de SQL

Ocorre quando dados fornecidos por um usuário são incorporados diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante modifique a lógica da consulta. O risco é grave: exposição de dados sensíveis, modificação ou deleção de registros, e até comprometimento do servidor de banco de dados.

Ejemplo

Um formulário de login que constrói a consulta como `SELECT * FROM users WHERE login = '` + entrada_do_usuario + `'` permite que alguém digite `admin' --` e contorne a verificação de senha, ou `' OR '1'='1` para listar todos os usuários.

Cómo mitigar

Use prepared statements ou stored procedures com parâmetros vinculados (nunca concatenação de strings). Se necessário filtrar, aplique whitelist rigorosa e escape adequado para o banco de dados específico. Implemente validação de entrada e princípio do menor privilégio na conta do banco.

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-2022-46860HIGHWordPress Short URL Plugin <= 1.6.4 is vulnerable to SQL InjectionEPSS 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-2025-66169MEDIUMApache Camel Neo4j: Cypher injection vulnerability in Camel-Neo4j componentEPSS 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%