Fallos del tipo CWE-89

12.920 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-11744MEDIUM1000 Projects Portfolio Management System MCA register.php sql injectionEPSS 0.7%CVE-2024-58374HIGHHongjing e-HR Unauthenticated SQL Injection via getSdutyTreeEPSS 0.7%CVE-2024-37486HIGHWordPress Paid Memberships Pro plugin <= 3.0.5 - Authenticated SQL Injection vulnerabilityEPSS 0.7%CVE-2024-22625HIGHComplete Supplier Management System v1.0 is vulnerable to SQL Injection via /Supply_Management_System/admin/edit_category.php?id=.EPSS 0.7%CVE-2024-11967MEDIUMPHPGurukul Complaint Management system reset-password.php sql injectionEPSS 0.7%CVE-2025-0063HIGHSQL Injection vulnerability in SAP NetWeaver AS for ABAP and ABAP PlatformEPSS 0.7%CVE-2015-10041MEDIUMDovgalyuk AIBattle procedures.php sendComments sql injectionEPSS 0.7%CVE-2023-39853MEDIUMSQL Injection vulnerability in Dzzoffice version 2.01, allows remote attackers to obtain sensitive information via the doobj and doevent parEPSS 0.7%CVE-2015-10053MEDIUMprodigasistemas curupira passwords_controller.rb sql injectionEPSS 0.7%CVE-2023-1612MEDIUMRebuild list-file sql injectionEPSS 0.7%CVE-2020-20636HIGHSQL injection vulnerability found in Joyplus-cms v.1.6.0 allows a remote attacker to access sensitive information via the id parameter of thEPSS 0.7%CVE-2023-2206MEDIUMCampcodes Retro Basketball Shoes Online Store contactus.php sql injectionEPSS 0.7%CVE-2025-32870HIGHA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 0.7%CVE-2025-62519HIGHphpMyFAQ has Authenticated SQL Injection in Configuration Update FunctionalityEPSS 0.7%CVE-2023-4200MEDIUMSourceCodester Inventory Management System product_data.php. sql injectionEPSS 0.7%CVE-2023-2774MEDIUMcode-projects Bus Dispatch and Information System view_branch.php sql injectionEPSS 0.7%CVE-2023-4866MEDIUMSourceCodester Online Tours & Travels Management System booking.php exec sql injectionEPSS 0.7%CVE-2023-2107MEDIUMIBOS del&op=recycle sql injectionEPSS 0.7%CVE-2023-4201MEDIUMSourceCodester Inventory Management System ex_catagory_data.php sql injectionEPSS 0.7%CVE-2023-1873CRITICALSQLi in BircardEPSS 0.7%