Fallos del tipo CWE-89

12.910 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-2026-13161HIGHTrueBooker <= 1.2.2 - Unauthenticated SQL InjectionEPSS 0.8%CVE-2024-6027CRITICALThemify - WooCommerce Product Filter <= 1.4.9 - Unauthenticated SQL Injection via conditions ParameterEPSS 0.8%CVE-2024-26262HIGHEBM Technologies Uniweb/SoliPACS WebServer - SQL InjectionEPSS 0.8%CVE-2023-4219HIGHSourceCodester Doctors Appointment System login.php sql injectionEPSS 0.8%CVE-2024-3767MEDIUMPHPGurukul News Portal edit-post.php sql injectionEPSS 0.8%CVE-2022-41259MEDIUMSAP SQL Anywhere - version 17.0, allows an authenticated attacker to prevent legitimate users from accessing a SQL Anywhere database server EPSS 0.8%CVE-2024-24002CRITICALjshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStoEPSS 0.8%CVE-2021-32704HIGHImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2-coreEPSS 0.8%CVE-2022-45822CRITICALWordPress Advanced Booking Calendar Plugin <= 1.7.1 is vulnerable to SQL InjectionEPSS 0.8%CVE-2024-55978CRITICALWordPress Code Generator Pro plugin <= 1.2 - SQL Injection vulnerabilityEPSS 0.8%CVE-2024-40443MEDIUMSQL Injection vulnerability in Simple Laboratory Management System using PHP and MySQL v.1.0 allows a remote attacker to cause a denial of sEPSS 0.8%CVE-2016-15031HIGHPHP-Login POST Parameter class.loginscript.php checkLogin sql injectionEPSS 0.8%CVE-2026-51821CRITICALSQL Injection vulnerability in Shenzhou Shihan Video Conference System v.1.0 allows a remote attacker to execute arbitrary code via the /useEPSS 0.8%CVE-2026-52186CRITICALSQL Injection vulnerability in UTT nv518G nv518GV3v3.2.7-210919-161313 allows a remote attacker to execute arbitrary code via the gohead/subEPSS 0.8%CVE-2022-36276CRITICALSQL injection vulnerability in TCMAN GIMEPSS 0.8%CVE-2026-67689CRITICALSQL Injection vulnerability in FineAdmin V1.0 allows a remote attacker to execute arbitrary code via the `field` and `order` parameters in pEPSS 0.8%CVE-2022-42122CRITICALA SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attEPSS 0.8%CVE-2023-1986MEDIUMSourceCodester Online Computer and Laptop Store delete_order sql injectionEPSS 0.8%CVE-2023-1987MEDIUMSourceCodester Online Computer and Laptop Store update_order_status sql injectionEPSS 0.8%CVE-2026-65321CRITICALPyAthena SQL Injection via DefaultParameterFormatter DELETE/CTASEPSS 0.8%