Weaknesses of type CWE-89

12,894 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-43739CRITICALOnline Book Store Project v1.0 - Unauthenticated SQL Injection (SQLi)EPSS 0.8%CVE-2023-44163CRITICALOnline Movie Ticket Booking System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)EPSS 0.8%CVE-2023-27463HIGHA vulnerability has been identified in RUGGEDCOM CROSSBOW (All versions < V5.3). The audit log form of affected applications is vulnerable tEPSS 0.8%CVE-2023-25350HIGHFaveo Helpdesk 1.0-1.11.1 is vulnerable to SQL Injection. When the user logs in through the login box, he has no judgment on the validity ofEPSS 0.8%CVE-2023-44164CRITICALOnline Movie Ticket Booking System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)EPSS 0.8%CVE-2023-5373HIGHSourceCodester Online Computer and Laptop Store Master.php register sql injectionEPSS 0.8%CVE-2022-43531HIGH Vulnerabilities in the web-based management interface of ClearPass Policy Manager could allow an authenticated remote attacker to conduct SEPSS 0.8%CVE-2024-9986MEDIUMcode-projects Blood Bank Management System member_register.php sql injectionEPSS 0.8%CVE-2023-44166CRITICALOnline Movie Ticket Booking System v1.0 - Multiple Unauthenticated SQL Injections (SQLi)EPSS 0.8%CVE-2026-61781CRITICALpg_partman has privilege escalation through SQL injection in create_partition_time()EPSS 0.8%CVE-2024-51327CRITICALSQL Injection in loginform.php in ProjectWorld's Travel Management System v1.0 allows remote attackers to bypass authentication via SQL InjeEPSS 0.8%CVE-2022-46956HIGHDynamic Transaction Queuing System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/manage_user.pEPSS 0.8%CVE-2024-4807MEDIUMKashipara College Management System delete_user.php sql injectionEPSS 0.8%CVE-2023-6097CRITICALSQL Injection on ICSSolution ICS Business ManagerEPSS 0.8%CVE-2022-2263MEDIUMOnline Hotel Booking System Room edit_room_cat.php sql injectionEPSS 0.8%CVE-2024-1523HIGHEC-WEB FS-EZViewer(Web) - SQL InjectionEPSS 0.8%CVE-2023-33557HIGHFuel CMS v1.5.2 was discovered to contain a SQL injection vulnerability via the id parameter at /controllers/Blocks.php.EPSS 0.8%CVE-2024-4801MEDIUMKashipara College Management System submit_new_faculty.php sql injectionEPSS 0.8%CVE-2022-2262MEDIUMOnline Hotel Booking System Room edit_all_room.php sql injectionEPSS 0.8%CVE-2023-35132MEDIUMMoodle: minor sql injection risk on mnet sso access control pageEPSS 0.8%