Falhas do tipo CWE-89

12.894 resultados

Injeção de SQL

Fraqueza onde 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 banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

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%