Weaknesses of type CWE-89

12,895 results

Injeção SQL

Ocorre quando 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 aplicativo executa a consulta alterada, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Example

Um formulário de login que monta a query assim: `SELECT * FROM users WHERE email = '" + emailDoFormulario + "'`. Se o usuário digitar `admin'--`, a query vira `SELECT * FROM users WHERE email = 'admin'--'` e bypassa a validação de senha, autenticando como admin.

How to mitigate

Use prepared statements ou stored procedures com parâmetros vinculados (bind parameters). Em Java use PreparedStatement; em Python use placeholders com psycopg2 ou SQLAlchemy; em qualquer linguagem evite concatenação de strings. Combine com validação de entrada e princípio do menor privilégio no banco de dados.

CVE-2023-2039MEDIUMnovel-plus sql injectionEPSS 0.8%CVE-2023-35132MEDIUMMoodle: minor sql injection risk on mnet sso access control pageEPSS 0.8%CVE-2023-3377CRITICALSQLi in Veribilim's VeribaseEPSS 0.8%CVE-2023-2094MEDIUMSourceCodester Vehicle Service Management System manage_mechanic.php sql injectionEPSS 0.8%CVE-2023-4713MEDIUMIBOS OA addcomment addComment sql injectionEPSS 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-2015-10038MEDIUMnym3r0s pplv2 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-2023-1368HIGHXHCMS POST Parameter 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-2026-1287MEDIUMPotential SQL injection in column aliases via control charactersEPSS 0.8%CVE-2023-1253HIGHSourceCodester Health Center Patient Record Management System login.php 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-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-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-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-46823HIGHWordPress ImageLinks Interactive Image Builder Plugin <= 1.5.4 is vulnerable to SQL InjectionEPSS 0.8%CVE-2023-1955HIGHSourceCodester Online Computer and Laptop Store User Registration login.php sql injectionEPSS 0.8%CVE-2023-3693HIGHSourceCodester Life Insurance Management System login.php sql injectionEPSS 0.8%