Fallos del tipo CWE-89

11.911 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-7587MEDIUMcode-projects Online Appointment Booking System cover.php sql injectionEPSS 0.4%CVE-2025-3337MEDIUMcodeprojects Online Restaurant Management System member_update.php sql injectionEPSS 0.4%CVE-2026-23492HIGHPimcore has a Blind SQL Injection in Admin Search Find API due to an incomplete fix for CVE-2023-30848EPSS 0.4%CVE-2026-4579MEDIUMcode-projects Simple Laundry System Parameters viewdetail.php sql injectionEPSS 0.4%CVE-2025-3336MEDIUMcodeprojects Online Restaurant Management System member_save.php sql injectionEPSS 0.4%CVE-2025-5213MEDIUMprojectworlds Responsive E-Learning System delete_file.php sql injectionEPSS 0.4%CVE-2025-5778MEDIUM1000 Projects ABC Courier Management System admin sql injectionEPSS 0.4%CVE-2025-5212MEDIUMPHPGurukul Employee Record Management System editempexp.php sql injectionEPSS 0.4%CVE-2025-6834MEDIUMcode-projects Inventory Management System editPayment.php sql injectionEPSS 0.4%CVE-2025-5211MEDIUMPHPGurukul Employee Record Management System myprofile.php sql injectionEPSS 0.4%CVE-2025-3353MEDIUMPHPGurukul Men Salon Management System add-services.php sql injectionEPSS 0.4%CVE-2026-3330MEDIUMForm Maker by 10Web <= 1.15.40 - Authenticated (Administrator+) SQL Injection via 'ip_search' ParameterEPSS 0.4%CVE-2025-3299MEDIUMPHPGurukul Men Salon Management System appointment.php sql injectionEPSS 0.4%CVE-2025-3335MEDIUMcodeprojects Online Restaurant Management System category_update.php sql injectionEPSS 0.4%CVE-2025-5208MEDIUMSourceCodester Online Hospital Management System check_availability.php sql injectionEPSS 0.4%CVE-2026-28562HIGHwpForo Forum 2.4.14 SQL Injection via Topics ORDER BY ParameterEPSS 0.4%CVE-2025-7927MEDIUMPHPGurukul Online Banquet Booking System view-user-queries.php sql injectionEPSS 0.4%CVE-2025-12336MEDIUMCampcodes Retro Basketball Shoes Online Store admin_index.php sql injectionEPSS 0.4%CVE-2025-13122MEDIUMSourceCodester Patients Waiting Area Queue Management System api_patient_checkin.php getPatientAppointment sql injectionEPSS 0.4%CVE-2025-8134MEDIUMPHPGurukul BP Monitoring Management System bwdates-report-result.php sql injectionEPSS 0.4%