Falhas do tipo CWE-89

12.995 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-2024-54921CRITICALA SQL Injection was found in /student_signup.php in kashipara E-learning Management System v1.0, which allows remote attackers to execute arEPSS 0.6%CVE-2024-42568CRITICALSchool Management System commit bae5aa was discovered to contain a SQL injection vulnerability via the transport parameter at vehicle.php.EPSS 0.6%CVE-2023-23737CRITICALWordPress MainWP Broken Links Checker Extension Plugin <= 4.0 is vulnerable to SQL InjectionEPSS 0.6%CVE-2024-33276CRITICALSQL Injection vulnerability in FME Modules preorderandnotication v.3.1.0 and before allows a remote attacker to run arbitrary SQL commands vEPSS 0.6%CVE-2024-4070MEDIUMKashipara Online Furniture Shopping Ecommerce Website prodList.php sql injectionEPSS 0.6%CVE-2024-47331CRITICALWordPress Multi Step for Contact Form plugin <= 2.7.7 - Unauthenticated SQL Injection vulnerabilityEPSS 0.6%CVE-2023-3695MEDIUMCampcodes Beauty Salon Management System add-product.php sql injectionEPSS 0.6%CVE-2024-55496CRITICALA vulnerability has been found in the 1000projects Bookstore Management System PHP MySQL Project 1.0. This issue affects some unknown functiEPSS 0.6%CVE-2024-8087MEDIUMSourceCodester E-Commerce System popup_Item.php sql injectionEPSS 0.6%CVE-2024-11260HIGHEvents Manager – Calendar, Bookings, Tickets, and more! <= 6.6.3 - Unauthenticated SQL Injection via Event Status ParameterEPSS 0.6%CVE-2025-0668CRITICALBOINC Server Multiple SQL InjectionsEPSS 0.6%CVE-2024-10597MEDIUMESAFENET CDG PolicyActionService.java delPolicyAction sql injectionEPSS 0.6%CVE-2024-34480CRITICALSourceCodester Computer Laboratory Management System 1.0 allows admin/category/view_category.php id SQL Injection.EPSS 0.6%CVE-2024-6471MEDIUMSourceCodester Online Tours & Travels Management sms_setting.php sql injectionEPSS 0.6%CVE-2026-33770HIGHAVideo has SQL Injection in category.php fixCleanTitle() via Unparameterized clean_title and id VariablesEPSS 0.6%CVE-2025-0847MEDIUM1000 Projects Employee Task Management System Login index.php sql injectionEPSS 0.6%CVE-2024-10278MEDIUMESAFENET CDG ReUserOrganiseService.java sql injectionEPSS 0.6%CVE-2024-0466MEDIUMcode-projects Employee Profile Management System file_table.php sql injectionEPSS 0.6%CVE-2024-7375MEDIUMSourceCodester Simple Realtime Quiz System my_quiz_result.php sql injectionEPSS 0.6%CVE-2025-1963MEDIUMprojectworlds Online Hotel Booking reservation.php sql injectionEPSS 0.6%