Fallos del tipo CWE-89

11.911 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-2025-13410MEDIUMCampcodes Retro Basketball Shoes Online Store receipt.php sql injectionEPSS 0.4%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-13291MEDIUMCampcodes Supplier Management System confirm_order.php sql injectionEPSS 0.4%CVE-2024-50825LOWA SQL Injection vulnerability was found in /admin/school_year.php in kashipara E-learning Management System Project 1.0 via the school_year EPSS 0.4%CVE-2025-12339MEDIUMCampcodes Retro Basketball Shoes Online Store admin_football.php sql injectionEPSS 0.4%CVE-2025-10077MEDIUMSourceCodester Online Polling System registeracc.php sql injectionEPSS 0.4%CVE-2025-13257MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2024-50826LOWA SQL Injection vulnerability was found in /admin/add_content.php in kashipara E-learning Management System Project 1.0 via the title and coEPSS 0.4%CVE-2025-13233MEDIUMitsourcecode Inventory Management System index.php sql injectionEPSS 0.4%CVE-2025-13421MEDIUMitsourcecode Human Resource Management System NoticeStore.php sql injectionEPSS 0.4%CVE-2026-3981MEDIUMitsourcecode Online Doctor Appointment System doctor_action.php sql injectionEPSS 0.4%CVE-2025-51672HIGHA time-based blind SQL injection vulnerability was identified in the PHPGurukul Dairy Farm Shop Management System 1.3. The vulnerability exiEPSS 0.4%CVE-2026-3980MEDIUMitsourcecode Online Doctor Appointment System patient_action.php sql injectionEPSS 0.4%CVE-2025-13582MEDIUMcode-projects Jonnys Liquor GET Parameter detail.php sql injectionEPSS 0.4%CVE-2025-10076MEDIUMSourceCodester Online Polling System manage-profile.php sql injectionEPSS 0.4%CVE-2026-0592MEDIUMcode-projects Online Product Reservation System User Registration register_code.php sql injectionEPSS 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-2024-50829LOWA SQL Injection vulnerability was found in /admin/edit_subject.php in kashipara E-learning Management System Project 1.0 via the unit parameEPSS 0.4%CVE-2025-15492MEDIUMRainyGao DocSys GroupMemberMapper.xml sql injectionEPSS 0.4%CVE-2026-6637HIGHPostgreSQL refint allows stack buffer overflow and SQL injectionEPSS 0.4%