Fallos del tipo CWE-89

11.873 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-47338HIGHWordPress WPExperts Square For GiveWP plugin <= 1.3 - SQL Injection vulnerabilityEPSS 0.4%CVE-2024-13230MEDIUMSocial Share, Social Login and Social Comments Plugin – Super Socializer <= 7.14 - Unauthenticated Limited SQL Injection via 'SuperSocializerKey'EPSS 0.4%CVE-2024-7069MEDIUMSourceCodester Employee and Visitor Gate Pass Logging System sql injectionEPSS 0.4%CVE-2025-48949HIGHNavidrome allows SQL Injection via role parameterEPSS 0.4%CVE-2026-33713HIGHn8n Vulnerable to SQL Injection in Data Table Node via orderByColumn ExpressionEPSS 0.4%CVE-2025-13774HIGHSQL injection leading to privilege escalation in Progress Flowmon ADSEPSS 0.4%CVE-2025-5610MEDIUMCodeAstro Real Estate Management System submitpropertydelete.php sql injectionEPSS 0.4%CVE-2026-30951HIGHSequelize v6 Vulnerable to SQL Injection via JSON Column Cast TypeEPSS 0.4%CVE-2025-1535MEDIUMBaiyi Cloud Asset Management System admin.ticket.close.php sql injectionEPSS 0.4%CVE-2025-1581MEDIUMPHPGurukul Online Nurse Hiring System book-nurse.php sql injectionEPSS 0.4%CVE-2025-5371MEDIUMSourceCodester Health Center Patient Record Management System admin.php sql injectionEPSS 0.4%CVE-2025-44072CRITICALSeaCMS v13.3 was discovered to contain a SQL injection vulnerability via the component admin_manager.php.EPSS 0.4%CVE-2025-5582MEDIUMCodeAstro Real Estate Management System profile.php sql injectionEPSS 0.4%CVE-2025-1117MEDIUMCoinRemitter sql injectionEPSS 0.4%CVE-2019-25662HIGHResourceSpace 8.6 SQL Injection via watched_searches.phpEPSS 0.4%CVE-2026-29172HIGHCraft Commerce has a SQL Injection in Commerce Purchasables Table SortingEPSS 0.4%CVE-2025-5081MEDIUMCampcodes Cybercafe Management System adminprofile.php sql injectionEPSS 0.4%CVE-2025-0174MEDIUMcode-projects Point of Sales and Inventory Management System Parameter search_result2.php sql injectionEPSS 0.4%CVE-2025-8467MEDIUMcode-projects Wazifa System regcontrol.php sql injectionEPSS 0.4%CVE-2025-0196MEDIUMcode-projects Point of Sales and Inventory Management System plist.php sql injectionEPSS 0.4%