Weaknesses of type CWE-89

12,874 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-2024-29031HIGHMeshery SQL Injection vulnerabilityEPSS 1.0%CVE-2022-36394HIGHWordPress Contest Gallery plugin <= 17.0.4 - Authenticated SQL Injection (SQLi) vulnerabilityEPSS 1.0%CVE-2022-46999CRITICALTuzicms v2.0.6 was discovered to contain a SQL injection vulnerability via the component \App\Manage\Controller\UserController.class.php.EPSS 1.0%CVE-2022-45786HIGHApache AGE: Python and Golang drivers allow data manipulation and exposure due to SQL injectionEPSS 1.0%CVE-2024-1799HIGHGamiPress – The #1 gamification plugin to reward points, achievements, badges & ranks in WordPress <= 6.8.6 - Authenticated (Contributor+) SQL Injection via ShortcodeEPSS 1.0%CVE-2024-48325HIGHPortabilis i-Educar 2.8.0 is vulnerable to SQL Injection in the "getDocuments" function of the "InstituicaoDocumentacaoController" class. ThEPSS 1.0%CVE-2022-40099HIGHOnline Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_EPSS 1.0%CVE-2022-40926HIGHOnline Leave Management System v1.0 is vulnerable to SQL Injection via /leave_system/classes/Master.php?f=delete_leave_type.EPSS 1.0%CVE-2022-45526CRITICALSQL Injection vulnerability in Future-Depth Institutional Management Website (IMS) 1.0, allows attackers to execute arbitrary commands via tEPSS 1.0%CVE-2022-24391HIGHAuthenticated SQL Injection Vulnerability in Fidelis Network and DeceptionEPSS 1.0%CVE-2023-30211CRITICALOURPHP <= 7.2.0 is vulnerable to SQL Injection.EPSS 1.0%CVE-2024-7639MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_act.php sql injectionEPSS 1.0%CVE-2024-7640MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_register.php sql injectionEPSS 1.0%CVE-2024-2647HIGHNetentsec NS-ASG Application Security Gateway singlelogin.php sql injectionEPSS 1.0%CVE-2024-7642MEDIUMSourceCodester Kortex Lite Advocate Office Management System activate_act.php sql injectionEPSS 1.0%CVE-2024-7638MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_client.php sql injectionEPSS 1.0%CVE-2024-24772MEDIUMApache Superset: Improper Neutralisation of custom SQL on embedded contextEPSS 1.0%CVE-2023-38825CRITICALSQL injection vulnerability in Vanderbilt REDCap before v.13.8.0 allows a remote attacker to obtain sensitive information via the password rEPSS 1.0%CVE-2022-43519HIGHMultiple vulnerabilities in the web-based management interface of Aruba EdgeConnect Enterprise Orchestrator could allow an authenticated remEPSS 1.0%CVE-2022-43521HIGHMultiple vulnerabilities in the web-based management interface of Aruba EdgeConnect Enterprise Orchestrator could allow an authenticated remEPSS 1.0%