Fallos del tipo CWE-89

13.130 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-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%