Fallos del tipo CWE-89

11.891 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-2025-5077MEDIUMCampcodes Online Shopping Portal edit-subcategory.php sql injectionEPSS 0.4%CVE-2025-4932MEDIUMprojectworlds Online Lawyer Management System lawyer_registation.php sql injectionEPSS 0.4%CVE-2025-4934MEDIUMPHPGurukul User Registration & Login and User Management System edit-profile.php sql injectionEPSS 0.4%CVE-2025-5032MEDIUMCampcodes Online Shopping Portal edit-category.php sql injectionEPSS 0.4%CVE-2025-4931MEDIUMprojectworlds Online Lawyer Management System user_registation.php sql injectionEPSS 0.4%CVE-2025-4698MEDIUMPHPGurukul Directory Management System forget-password.php sql injectionEPSS 0.4%CVE-2025-4362MEDIUMitsourcecode Gym Management System ajax.php sql injectionEPSS 0.4%CVE-2025-4815MEDIUMCampcodes Sales and Inventory System supplier_update.php sql injectionEPSS 0.4%CVE-2025-4741MEDIUMCampcodes Sales and Inventory System purchase_add.php sql injectionEPSS 0.4%CVE-2025-4935MEDIUMSourceCodester Stock Management System changePassword.php sql injectionEPSS 0.4%CVE-2025-4699MEDIUMPHPGurukul Apartment Visitors Management System visitors-form.php sql injectionEPSS 0.4%CVE-2025-8161MEDIUMdeerwms deer-wms-2 export sql injectionEPSS 0.4%CVE-2025-4765MEDIUMPHPGurukul Zoo Management System contactus.php sql injectionEPSS 0.4%CVE-2025-5004MEDIUMprojectworlds Online Time Table Generator add_course.php sql injectionEPSS 0.4%CVE-2025-4721MEDIUMitsourcecode Placement Management System drive.php sql injectionEPSS 0.4%CVE-2024-38693HIGHWordPress WP User Frontend plugin <= 4.0.7 - SQL Injection vulnerabilityEPSS 0.4%CVE-2025-4300MEDIUMitsourcecode Content Management System search_list.php sql injectionEPSS 0.4%CVE-2024-39658HIGHWordPress Salon Booking System plugin <= 10.7 - Authenticated SQL Injection vulnerabilityEPSS 0.4%CVE-2025-4726MEDIUMitsourcecode Placement Management System view_student.php sql injectionEPSS 0.4%CVE-2025-3245MEDIUMitsourcecode Library Management System Forgot.java search sql injectionEPSS 0.4%