Fallos del tipo CWE-89

11.977 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-50830LOWA SQL Injection vulnerability was found in /admin/calendar_of_events.php in kashipara E-learning Management System Project 1.0 via the date_EPSS 0.4%CVE-2025-13235MEDIUMitsourcecode Inventory Management System login.php sql injectionEPSS 0.4%CVE-2025-13170MEDIUMcode-projects Simple Online Hotel Reservation System edit_account.php sql injectionEPSS 0.4%CVE-2026-1589MEDIUMitsourcecode School Management System index.php sql injectionEPSS 0.4%CVE-2025-10076MEDIUMSourceCodester Online Polling System manage-profile.php sql injectionEPSS 0.4%CVE-2025-13420MEDIUMitsourcecode Human Resource Management System EventStore.php sql injectionEPSS 0.4%CVE-2025-13585MEDIUMitsourcecode COVID Tracking System login.php sql injectionEPSS 0.4%CVE-2026-0607MEDIUMcode-projects Online Music Site AdminViewSongs.php sql injectionEPSS 0.4%CVE-2025-13410MEDIUMCampcodes Retro Basketball Shoes Online Store receipt.php sql injectionEPSS 0.4%CVE-2026-0700MEDIUMcode-projects Intern Membership Management System check_admin.php sql injectionEPSS 0.4%CVE-2025-31397CRITICALWordPress Bus Ticket Booking with Seat Reservation for WooCommerce plugin <= 1.7 - SQL Injection vulnerabilityEPSS 0.4%CVE-2024-50828LOWA SQL Injection vulnerability was found in /admin/edit_department.php in kashipara E-learning Management System Project 1.0 via the d parameEPSS 0.4%CVE-2026-56221HIGHCap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.tsEPSS 0.4%CVE-2025-5226MEDIUMPHPGurukul Small CRM change-password.php sql injectionEPSS 0.4%CVE-2026-3746MEDIUMSourceCodester Simple Responsive Tourism Website Login Login.php sql injectionEPSS 0.4%CVE-2025-13233MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2026-3152MEDIUMitsourcecode College Management System teacher-salary.php sql injectionEPSS 0.4%CVE-2025-13257MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2025-10077MEDIUMSourceCodester Online Polling System registeracc.php sql injectionEPSS 0.4%CVE-2025-13578MEDIUMcode-projects Library System Login index.php sql injectionEPSS 0.4%