Fallos del tipo CWE-89

13.009 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-2024-0466MEDIUMcode-projects Employee Profile Management System file_table.php sql injectionEPSS 0.6%CVE-2024-54920CRITICALA SQL Injection vulnerability was found in /teacher_signup.php of kashipara E-learning Management System v1.0, which allows remote attackersEPSS 0.6%CVE-2024-7375MEDIUMSourceCodester Simple Realtime Quiz System my_quiz_result.php sql injectionEPSS 0.6%CVE-2025-0491MEDIUMFanli2012 native-php-cms cat_dodel.php sql injectionEPSS 0.6%CVE-2025-1963MEDIUMprojectworlds Online Hotel Booking reservation.php sql injectionEPSS 0.6%CVE-2024-6007MEDIUMNetentsec NS-ASG Application Security Gateway deleteiscgwrouteconf.php sql injectionEPSS 0.6%CVE-2025-0847MEDIUM1000 Projects Employee Task Management System Login index.php sql injectionEPSS 0.6%CVE-2024-51165HIGHSQL injection vulnerability in JEPAAS7.2.8, via /je/rbac/rbac/loadLoginCount in the dateVal parameter, which could allow a remote user to suEPSS 0.6%CVE-2024-10278MEDIUMESAFENET CDG ReUserOrganiseService.java sql injectionEPSS 0.6%CVE-2025-2655MEDIUMSourceCodester AC Repair and Services System Users.php delete_users sql injectionEPSS 0.6%CVE-2024-10279MEDIUMESAFENET CDG PrintPolicyService.java sql injectionEPSS 0.6%CVE-2024-10277MEDIUMESAFENET CDG UsbKeyAjax.java sql injectionEPSS 0.6%CVE-2024-34480CRITICALSourceCodester Computer Laboratory Management System 1.0 allows admin/category/view_category.php id SQL Injection.EPSS 0.6%CVE-2025-0967MEDIUMcode-projects Chat System add_chatroom.php sql injectionEPSS 0.6%CVE-2024-2341HIGHAppointment Booking Calendar — Simply Schedule Appointments Booking Plugin <= 1.6.7.7 - Authenticated (Subscriber+) SQL InjectionEPSS 0.6%CVE-2023-36652MEDIUMA SQL Injection in the users searching REST API endpoint in ProLion CryptoSpike 3.0.15P2 allows remote authenticated attackers to read databEPSS 0.6%CVE-2026-33767HIGHAVideo has SQL Injection via Partial Prepared Statement — videos_id Concatenated Directly into QueryEPSS 0.6%CVE-2024-6527CRITICALSQL Injection in MegaBIPEPSS 0.6%CVE-2024-6795CRITICALVulnerability in Baxter Connex Health PortalEPSS 0.6%CVE-2025-50190HIGHChamilo: Error-based SQL Injection via GET openid.assoc_handle with the /index.php scriptEPSS 0.6%