Fallos del tipo CWE-89

13.018 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-2026-3134MEDIUMitsourcecode News Portal Project edit-category.php sql injectionEPSS 0.6%CVE-2024-12935MEDIUMcode-projects Simple Admin Panel editItemForm.php sql injectionEPSS 0.6%CVE-2026-2690MEDIUMitsourcecode Event Management System Admin Login ajax.php sql injectionEPSS 0.6%CVE-2024-1197HIGHSourceCodester Testimonial Page Manager HTTP GET Request delete-testimonial.php sql injectionEPSS 0.6%CVE-2026-2848MEDIUMSourceCodester Simple Responsive Tourism Website Registration Master.php sql injectionEPSS 0.6%CVE-2026-3413MEDIUMitsourcecode University Management System admin_single_student.php sql injectionEPSS 0.6%CVE-2026-3068MEDIUMitsourcecode Document Management System deluser.php sql injectionEPSS 0.6%CVE-2023-3396MEDIUMCampcodes Retro Cellphone Online Store index.php sql injectionEPSS 0.6%CVE-2024-1530MEDIUMECshop view_sendlist.php sql injectionEPSS 0.6%CVE-2026-2865MEDIUMitsourcecode Agri-Trading Online Shopping System HTTP POST Request productcontroller.php sql injectionEPSS 0.6%CVE-2026-3411MEDIUMitsourcecode University Management System admin_single_student_update.php sql injectionEPSS 0.6%CVE-2026-3406MEDIUMprojectworlds Online Art Gallery Shop Registration registration.php sql injectionEPSS 0.6%CVE-2026-3042MEDIUMitsourcecode Event Management System index.php sql injectionEPSS 0.6%CVE-2026-3133MEDIUMitsourcecode Document Management System Login loging.php sql injectionEPSS 0.6%CVE-2024-31678CRITICALSourcecodester Loan Management System v1.0 is vulnerable to SQL Injection via the "password" parameter in the "login.php" file.EPSS 0.6%CVE-2024-12936MEDIUMcode-projects Simple Admin Panel catDeleteController.php sql injectionEPSS 0.6%CVE-2026-2691MEDIUMitsourcecode Event Management System manage_register.php sql injectionEPSS 0.6%CVE-2026-2689MEDIUMitsourcecode Event Management System manage_booking.php sql injectionEPSS 0.6%CVE-2026-3261MEDIUMitsourcecode School Management System Setting index.php sql injectionEPSS 0.6%CVE-2024-2342HIGHAppointment Booking Calendar — Simply Schedule Appointments Booking Plugin <= 1.6.7.7 - Authenticated (Contributor+) SQL Injection via ShortcodeEPSS 0.6%