Fallos del tipo CWE-89

12.853 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-2022-35947CRITICALSQL injection in GLPIEPSS 1.2%CVE-2023-20110MEDIUMCisco Smart Software Manager On-Prem SQL Injection VulnerabilityEPSS 1.2%CVE-2022-1064CRITICALSQL injection through marking blog comments on bulk as spam in forkcms/forkcmsEPSS 1.2%CVE-2024-27299HIGHphpMyFAQ SQL Injection at "Save News"EPSS 1.2%CVE-2019-15995MEDIUMCisco DNA Spaces: Connector SQL Injection VulnerabilityEPSS 1.1%CVE-2022-46966CRITICALRevenue Collection System v1.0 was discovered to contain a SQL injection vulnerability at step1.php.EPSS 1.1%CVE-2021-33735—A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 1.1%CVE-2023-28424CRITICALSoko SQL Injection vulnerabilityEPSS 1.1%CVE-2022-41403CRITICALOpenCart 3.x Newsletter Custom Popup was discovered to contain a SQL injection vulnerability via the email parameter at index.php?route=exteEPSS 1.1%CVE-2024-13488HIGHLTL Freight Quotes – Estes Edition <= 3.3.7 - Unauthenticated SQL InjectionEPSS 1.1%CVE-2021-21930HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests at ‘sn_filter’ parameter to triEPSS 1.1%CVE-2021-21925HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger these vulnerabilitieEPSS 1.1%CVE-2021-21929HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests at ‘prod_filter’ parameter to tEPSS 1.1%CVE-2021-21931HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests at‘ stat_filter’ parameter to tEPSS 1.1%CVE-2022-1807HIGHMultiple SQLi vulnerabilities in Webadmin allow for privilege escalation from admin to super-admin in Sophos Firewall older than version 18.EPSS 1.1%CVE-2021-21934HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger this at ‘imei_filterEPSS 1.1%CVE-2020-15176HIGHSQL injection in GLPIEPSS 1.1%CVE-2021-21927HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger these vulnerabilitieEPSS 1.1%CVE-2021-21928HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests at ‘mac_filter’ parameter to trEPSS 1.1%CVE-2021-21932HIGHA specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger this at ‘name_filterEPSS 1.1%