Falhas do tipo CWE-89

13.130 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-37870CRITICALSQL injection vulnerability in processscore.php in Learning Management System Project In PHP With Source Code 1.0 allows attackers to executEPSS 0.5%CVE-2025-8381MEDIUMCampcodes Online Hotel Reservation System add_reserve.php sql injectionEPSS 0.5%CVE-2025-5212MEDIUMPHPGurukul Employee Record Management System editempexp.php sql injectionEPSS 0.5%CVE-2024-5113MEDIUMCampcodes Complete Web-Based School Management System student_profile1.php sql injectionEPSS 0.5%CVE-2024-54928HIGHkashipara E-learning Management System v1.0 is vulnerable to SQL Injection in /admin/delete_teacher.php,EPSS 0.5%CVE-2025-49915CRITICALWordPress SMS Alert Order Notifications plugin <= 3.8.5 - SQL Injection vulnerabilityEPSS 0.5%CVE-2023-41328MEDIUMPossibility limited SQL injection due to insufficient validation in FrappeEPSS 0.5%CVE-2025-8382MEDIUMCampcodes Online Hotel Reservation System edit_room.php sql injectionEPSS 0.5%CVE-2026-41889LOWpgx: SQL Injection via placeholder confusion with dollar quoted string literalsEPSS 0.5%CVE-2025-30775HIGHWordPress WPGuppy plugin <= 1.1.3 - SQL Injection vulnerabilityEPSS 0.5%CVE-2025-5210MEDIUMPHPGurukul Employee Record Management System loginerms.php sql injectionEPSS 0.5%CVE-2024-33852CRITICALA SQL Injection vulnerability exists in the Downtime component in Centreon Web 24.04.x before 24.04.3, 23.10.x before 23.10.13, 23.04.x befoEPSS 0.5%CVE-2024-5115MEDIUMCampcodes Complete Web-Based School Management System teacher_profile.php sql injectionEPSS 0.5%CVE-2026-39111HIGHSQL Injection vulnerability in Apartment Visitors Management System Apartment Visitors Management System V1.1 in the email parameter of the EPSS 0.5%CVE-2025-51510MEDIUMMoonShine was discovered to contain a SQL injection vulnerability under the Blog -> Categories page when using the moonshine-tree-resource (EPSS 0.5%CVE-2024-54927HIGHKashipara E-learning Management System v1.0 is vulnerable to SQL Injection in /admin/delete_users.php.EPSS 0.5%CVE-2026-4304HIGHWeePie Cookie Allow <= 3.4.11 - Unauthenticated SQL Injection via 'consent' ParameterEPSS 0.5%CVE-2025-2812CRITICALSQLi in Mydata Informatics' Ticket Sales AutomationEPSS 0.5%CVE-2025-5208MEDIUMSourceCodester Online Hospital Management System check_availability.php sql injectionEPSS 0.5%CVE-2025-5213MEDIUMprojectworlds Responsive E-Learning System delete_file.php sql injectionEPSS 0.5%