Falhas do tipo CWE-89

13.380 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-13586MEDIUMSourceCodester Online Student Clearance System changepassword.php sql injectionEPSS 0.3%CVE-2026-40762HIGHWordPress WPGraphQL plugin < 2.11.1 - SQL Injection vulnerabilityEPSS 0.3%CVE-2026-101926MEDIUMHyyan WooCommerce Polylang Integration <= 1.5.0 - Authenticated (Subscriber+) SQL Injection via 'variation_ids' ParameterEPSS 0.3%CVE-2025-69942CRITICALkishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /hms/doctor/view-patient.php?viewid=1.EPSS 0.3%CVE-2025-67403CRITICALSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_class.php via the parameter class_name.EPSS 0.3%CVE-2025-67404CRITICALSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in save_stud.php via the parameters fname, lname, and stEPSS 0.3%CVE-2025-69938CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in renew.php via the parameter membershipType.EPSS 0.3%CVE-2025-69931CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /delete_membership.php?id=1.EPSS 0.3%CVE-2025-69936CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /edit_member.php?id=1.EPSS 0.3%CVE-2025-69947CRITICALSourceCodester Tailor Management System 1.0 is vulnerable to SQL Injection in customeredit.php?id=1.EPSS 0.3%CVE-2025-69935CRITICALCodeAstro Membership Management System 1.0 is vulnerale to SQL Injection in the report.php and revenue_report.php via the fromDate parameterEPSS 0.3%CVE-2025-65340CRITICALkishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /betweendates-detailsreports.php.EPSS 0.3%CVE-2024-37799MEDIUMCodeProjects Restaurant Reservation System v1.0 was discovered to contain a SQL injection vulnerability via the reserv_id parameter at view_EPSS 0.3%CVE-2025-14192MEDIUMRashminDungrani online-banking auth_login.php sql injectionEPSS 0.3%CVE-2025-69930CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /print_membership_card.php?id=1.EPSS 0.3%CVE-2026-84209HIGHIBM Guardium Data Protection is affected by multiple vulnerabilities.EPSS 0.3%CVE-2026-105287MEDIUMfeelec-yishu feelcrm-os getMemberByGroups Endpoint AjaxRequestController.class.php sql injectionEPSS 0.3%CVE-2025-45818MEDIUMSlims (Senayan Library Management Systems) 9 Bulian 9.6.1 is vulnerable to SQL Injection in admin/modules/master_file/item_status.php.EPSS 0.3%CVE-2025-69934CRITICALCodeAstro Membership Management System 1.0 is vulnerable to SQL Injection in /delete_members.php?id=1.EPSS 0.3%CVE-2026-88416CRITICALMCMS 6.1.1 through 6.2.1 has a SQL injection vulnerability in the custom model/form import feature.EPSS 0.3%