Fallos del tipo CWE-89

11.873 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-9692MEDIUMCampcodes Online Shopping System product.php sql injectionEPSS 0.5%CVE-2025-3174MEDIUMProject Worlds Online Lawyer Management System searchLawyer.php sql injectionEPSS 0.5%CVE-2025-8811MEDIUMcode-projects Simple Art Gallery registration.php sql injectionEPSS 0.5%CVE-2024-2516MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System home.php sql injectionEPSS 0.5%CVE-2024-2524MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System receipt.php sql injectionEPSS 0.5%CVE-2025-3384MEDIUM1000 Projects Human Resource Management System employee.php sql injectionEPSS 0.5%CVE-2025-3345MEDIUMcodeprojects Online Restaurant Management System combo.php sql injectionEPSS 0.5%CVE-2025-3239MEDIUMPHPGurukul Online Fire Reporting System edit-guard-detail.php sql injectionEPSS 0.5%CVE-2025-3350MEDIUMPHPGurukul Old Age Home Management System view-enquiry.php sql injectionEPSS 0.5%CVE-2024-7327MEDIUMXinhu RockOA openmodhetongAction.php dataAction sql injectionEPSS 0.5%CVE-2024-7455MEDIUMitsourcecode Tailoring Management System partedit.php sql injectionEPSS 0.5%CVE-2024-2528MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System update-rooms.php sql injectionEPSS 0.5%CVE-2025-3187MEDIUMPHPGurukul e-Diary Management System login.php sql injectionEPSS 0.5%CVE-2025-3173MEDIUMProject Worlds Online Lawyer Management System save_booking.php sql injectionEPSS 0.5%CVE-2025-3370MEDIUMPHPGurukul Men Salon Management System admin-profile.php sql injectionEPSS 0.5%CVE-2024-2532MEDIUMMAGESH-K21 Online-College-Event-Hall-Reservation-System update-users.php sql injectionEPSS 0.5%CVE-2025-3188MEDIUMPHPGurukul e-Diary Management System add-notes.php sql injectionEPSS 0.5%CVE-2024-33139HIGHJ2EEFAST v2.7.0 was discovered to contain a SQL injection vulnerability via the sql_filter parameter in the findpage function.EPSS 0.5%CVE-2026-27005HIGHChartbrew: SQL injection in date-type variable handling (applyMysqlOrPostgresVariables)EPSS 0.5%CVE-2024-10162MEDIUMPHPGurukul Boat Booking System Edit Subdomain Details Page edit-subadmin.php sql injectionEPSS 0.5%