Falhas do tipo CWE-89

12.853 resultados

Injeção de SQL

Fraqueza onde entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

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%