Fallos del tipo CWE-89

12.874 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-34885HIGHWordPress Media LIbrary Assistant plugin <= 3.34 - SQL Injection vulnerabilityEPSS 1.2%CVE-2018-5443—A SQL Injection issue was discovered in Advantech WebAccess/SCADA versions prior to V8.2_20170817. WebAccess/SCADA does not properly sanitizEPSS 1.2%CVE-2022-21643CRITICAL SQL Injection in USOCEPSS 1.2%CVE-2026-49004MEDIUMPostgreSQL Misconfiguration and Command Injection Vulnerability in ZTE NX799J (Red Magic 11 Air) ProductEPSS 1.2%CVE-2023-28329MEDIUMMoodle: authenticated sql injection via availability checkEPSS 1.2%CVE-2023-26864CRITICALSQL injection vulnerability found in PrestaShop smplredirectionsmanager v.1.1.19 and before allow a remote attacker to gain privileges via tEPSS 1.2%CVE-2022-21666HIGH SQL Injection in useredit.phpEPSS 1.2%CVE-2022-30528CRITICALSQL Injection vulnerability in asith-eranga ISIC tour booking through version published on Feb 13th 2018, allows attackers to execute arbitrEPSS 1.2%CVE-2023-46956HIGHSQL injection vulnerability in Packers and Movers Management System v.1.0 allows a remote attacker to execute arbitrary code via crafted payEPSS 1.2%CVE-2023-49736MEDIUMApache Superset: SQL Injection on where_in JINJA macroEPSS 1.2%CVE-2022-22540—SAP NetWeaver AS ABAP (Workplace Server) - versions 700, 701, 702, 731, 740, 750, 751, 752, 753, 754, 755, 756, 787, allows an attacker to eEPSS 1.2%CVE-2024-10835CRITICALArbitrary File Write via SQL Injection in eosphoros-ai/db-gptEPSS 1.2%CVE-2021-33736—A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 1.2%CVE-2021-32932—The affected product is vulnerable to a SQL injection, which may allow an unauthorized attacker to disclose information on the iView (versioEPSS 1.2%CVE-2024-38793HIGHWordPress Best Restaurant Menu by Pricelisto plugin <= 1.4.1 - SQL Injection vulnerabilityEPSS 1.2%CVE-2026-22599CRITICALStrapi Vulnerable to SQL Injection in Content Type BuilderEPSS 1.2%CVE-2021-21937HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger this vulnerability aEPSS 1.2%CVE-2021-4340CRITICALuListing <= 1.6.6 - Unauthenticated SQL InjectionEPSS 1.2%CVE-2022-40887CRITICALSourceCodester Best Student Result Management System 1.0 is vulnerable to SQL Injection.EPSS 1.2%CVE-2023-28843CRITICALImproper neutralization of SQL parameter in PayPal module for PrestaShopEPSS 1.2%