Fallos del tipo CWE-89

12.031 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-10808MEDIUMitsourcecode Fees Management System manage_student.php sql injectionEPSS 0.2%CVE-2026-13579MEDIUMitsourcecode Hospital Management System patientchangepassword.php sql injectionEPSS 0.2%CVE-2026-15536MEDIUMitsourcecode Hospital Management System patviewprescription.php sql injectionEPSS 0.2%CVE-2026-16131MEDIUMitsourcecode Hospital Management System prescriptionrecord.php sql injectionEPSS 0.2%CVE-2026-15559MEDIUMCodeAstro Simple Online Leave Management System POST accept.php sql injectionEPSS 0.2%CVE-2026-11495MEDIUMCodeAstro Ingredients Stock Management System add_stock.php sql injectionEPSS 0.2%CVE-2026-11514MEDIUMitsourcecode Hospital Management System addpatient.php sql injectionEPSS 0.2%CVE-2026-13520MEDIUMitsourcecode Hospital Management System Appointment appointmentapproval.php sql injectionEPSS 0.2%CVE-2026-11506MEDIUMCodeAstro Leave Management System search_staff_for_deletion.php sql injectionEPSS 0.2%CVE-2026-10257MEDIUMitsourcecode Content Management System update_ss_img.php sql injectionEPSS 0.2%CVE-2026-13525MEDIUMCodeAstro Human Resource Management System Update_Earn_Leave Endpoint Employee_model.php emselectByCode sql injectionEPSS 0.2%CVE-2026-10258MEDIUMitsourcecode Content Management System add_sub_topic.php sql injectionEPSS 0.2%CVE-2025-65380MEDIUMPHPGurukul Billing System 1.0 is vulnerable to SQL Injection in the admin/index.php endpoint. Specifically, the username parameter accepts uEPSS 0.2%CVE-2026-14638MEDIUMitsourcecode Hospital Management System patient.php sql injectionEPSS 0.2%CVE-2025-15014MEDIUMloganhong php loganSite Article article_detail.php sql injectionEPSS 0.2%CVE-2026-10809MEDIUMitsourcecode Fees Management System manage_user.php sql injectionEPSS 0.2%CVE-2026-11510MEDIUMCodeAstro Leave Management System add_leave.php sql injectionEPSS 0.2%CVE-2026-11508MEDIUMCodeAstro Leave Management System search_staff_to_assign_pc.php sql injectionEPSS 0.2%CVE-2025-65379MEDIUMPHPGurukul Billing System 1.0 is vulnerable to SQL Injection in the /admin/password-recovery.php endpoint. Specifically, the username and moEPSS 0.2%CVE-2026-16009MEDIUMitsourcecode Hospital Management System prescriptionorderdetail.php sql injectionEPSS 0.2%