Fallos del tipo CWE-89

12.898 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-2023-2041MEDIUMnovel-plus sql injectionEPSS 0.8%CVE-2023-2094MEDIUMSourceCodester Vehicle Service Management System manage_mechanic.php sql injectionEPSS 0.8%CVE-2023-35132MEDIUMMoodle: minor sql injection risk on mnet sso access control pageEPSS 0.8%CVE-2023-2039MEDIUMnovel-plus sql injectionEPSS 0.8%CVE-2023-3377CRITICALSQLi in Veribilim's VeribaseEPSS 0.8%CVE-2015-10038MEDIUMnym3r0s pplv2 sql injectionEPSS 0.8%CVE-2023-4713MEDIUMIBOS OA addcomment addComment sql injectionEPSS 0.8%CVE-2023-46914CRITICALSQL Injection vulnerability in RM bookingcalendar module for PrestaShop versions 2.7.9 and before, allows remote attackers to execute arbitrEPSS 0.8%CVE-2022-1078HIGHSourceCodester College Website Management System sql injectionEPSS 0.8%CVE-2023-4742MEDIUMIBOS OA export&uid=X sql injectionEPSS 0.8%CVE-2023-36363—An issue in the __nss_database_lookup component of MonetDB Server v11.45.17 and v11.46.0 allows attackers to cause a Denial of Service (DoS)EPSS 0.8%CVE-2023-1253HIGHSourceCodester Health Center Patient Record Management System login.php sql injectionEPSS 0.8%CVE-2023-36362—An issue in the rel_sequences component of MonetDB Server v11.45.17 and v11.46.0 allows attackers to cause a Denial of Service (DoS) via craEPSS 0.8%CVE-2023-3693HIGHSourceCodester Life Insurance Management System login.php sql injectionEPSS 0.8%CVE-2024-24003CRITICALjshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.DepotHeadController: com.jsh.erp.utils.BaseResponseInfo findInOutMateEPSS 0.8%CVE-2023-36364—An issue in the rel_deps component of MonetDB Server v11.45.17 and v11.46.0 allows attackers to cause a Denial of Service (DoS) via crafted EPSS 0.8%CVE-2023-1368HIGHXHCMS POST Parameter login.php sql injectionEPSS 0.8%CVE-2023-46823HIGHWordPress ImageLinks Interactive Image Builder Plugin <= 1.5.4 is vulnerable to SQL InjectionEPSS 0.8%CVE-2022-20867MEDIUMA vulnerability in web-based management interface of the of Cisco Email Security Appliance and Cisco Secure Email and Web Manager could alloEPSS 0.8%CVE-2023-2641HIGHSourceCodester Online Internship Management System POST Parameter login.php sql injectionEPSS 0.8%