Falhas do tipo CWE-89

13.241 resultados

Injeção de SQL

Fraqueza onde entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

CVE-2025-7593MEDIUMcode-projects Job Diary view-all.php sql injectionEPSS 0.4%CVE-2024-8997CRITICALSQLi in Vestel's EVC04 Configuration InterfaceEPSS 0.4%CVE-2025-7595MEDIUMcode-projects Job Diary view-cad.php sql injectionEPSS 0.4%CVE-2025-7594MEDIUMcode-projects Job Diary view-emp.php sql injectionEPSS 0.4%CVE-2024-12016CRITICALSQLi in CM Informatics' CM NewsEPSS 0.4%CVE-2024-46472HIGHCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection via the parameter 'email' in the Login Page.EPSS 0.4%CVE-2023-26020MEDIUMImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Crafter StudioEPSS 0.4%CVE-2026-2821MEDIUMFujian Smart Integrated Management Platform System XCamera.ashx sql injectionEPSS 0.4%CVE-2026-72811CRITICALSiYuan before v3.7.4 SQL Injection via backlink searchEPSS 0.4%CVE-2025-67649CRITICALUnauthenticated SQL Injection in PHP Jabbers - Car Rental Script scriptEPSS 0.4%CVE-2023-50360HIGHVideo StationEPSS 0.4%CVE-2024-8561MEDIUMSourceCodester PHP CRUD Delete Person delete.php sql injectionEPSS 0.4%CVE-2024-10422MEDIUMSourceCodester Attendance and Payroll System overtime_add.php sql injectionEPSS 0.4%CVE-2025-49378HIGHWordPress Hydra Booking plugin <= 1.1.10 - SQL Injection vulnerabilityEPSS 0.4%CVE-2024-5360MEDIUMPHPGurukul Zoo Management System foreigner-bwdates-reports-details.php sql injectionEPSS 0.4%CVE-2025-57146HIGHphpgurukul Complaint Management System in PHP 2.0 is vulnerable to SQL Injection in user/reset-password.php via the mobileno parameter.EPSS 0.4%CVE-2026-10880CRITICALUnauthenticated SQL Injection in Osnexus QuantastorEPSS 0.4%CVE-2025-12594MEDIUMcode-projects Simple Online Hotel Reservation System add_account.php sql injectionEPSS 0.4%CVE-2025-50341CRITICALA Boolean-based SQL injection vulnerability was discovered in Axelor 5.2.4 via the _domain parameter. An attacker can manipulate the SQL queEPSS 0.4%CVE-2026-44886HIGHPi.Alert: Web Interface Vulnerable to Unauthenticated Blind SQL InjectionEPSS 0.4%