Fallos del tipo CWE-89

13.022 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-22196HIGHAuthenticated (user role) SQL injection in `OrderAndPaginate` (GHSL-2023-270)EPSS 0.6%CVE-2025-4908MEDIUMPHPGurukul Daily Expense Tracker System expense-datewise-reports-detailed.php sql injectionEPSS 0.6%CVE-2025-4914MEDIUMPHPGurukul Auto Taxi Stand Management System forgot-password.php sql injectionEPSS 0.6%CVE-2025-4915MEDIUMPHPGurukul Auto Taxi Stand Management System auto-taxi-entry-detail.php sql injectionEPSS 0.6%CVE-2025-5756MEDIUMcode-projects Real Estate Property Management System EditCity.php sql injectionEPSS 0.6%CVE-2024-4933MEDIUMSourceCodester Simple Online Bidding System sql injectionEPSS 0.6%CVE-2026-5334MEDIUMitsourcecode Online Enrollment System Parameter index.php sql injectionEPSS 0.6%CVE-2026-4223MEDIUMitsourcecode Payroll Management System manage_employee.php sql injectionEPSS 0.6%CVE-2024-4928MEDIUMSourceCodester Simple Online Bidding System sql injectionEPSS 0.6%CVE-2025-4913MEDIUMPHPGurukul Auto Taxi Stand Management System index.php sql injectionEPSS 0.6%CVE-2026-3746MEDIUMSourceCodester Simple Responsive Tourism Website Login Login.php sql injectionEPSS 0.6%CVE-2025-5581MEDIUMCodeAstro Real Estate Management System index.php sql injectionEPSS 0.6%CVE-2023-1040MEDIUMSourceCodester Online Graduate Tracer System add_acc.php sql injectionEPSS 0.6%CVE-2023-52285HIGHExamSys 9150244 allows SQL Injection via the /Support/action/Pages.php s_score2 parameter.EPSS 0.6%CVE-2026-3981MEDIUMitsourcecode Online Doctor Appointment System doctor_action.php sql injectionEPSS 0.6%CVE-2025-4910MEDIUMPHPGurukul Zoo Management System edit-animal-details.php sql injectionEPSS 0.6%CVE-2025-5580MEDIUMCodeAstro Real Estate Management System login.php sql injectionEPSS 0.6%CVE-2026-3980MEDIUMitsourcecode Online Doctor Appointment System patient_action.php sql injectionEPSS 0.6%CVE-2025-24902CRITICALSQL Injection endpoint 'salvar_cargo.php' parameter 'id_cargo' in WeGIAEPSS 0.6%CVE-2025-4916MEDIUMPHPGurukul Auto Taxi Stand Management System admin-profile.php sql injectionEPSS 0.6%