Falhas do tipo CWE-89

12.875 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-27613HIGHImproper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in webapi component in Synology CardDAV SEPSS 1.1%CVE-2023-5495MEDIUMQDocs Smart School HTTP POST Request sql injectionEPSS 1.1%CVE-2020-5427MEDIUMPossibility of SQL Injection in Spring Cloud Data Flow Task Execution Sorting QueryEPSS 1.1%CVE-2015-10122MEDIUMwp-donate Plugin donate-display.php sql injectionEPSS 1.1%CVE-2023-25197—apache fineract: SQL injection vulnerability in certain procedure calls EPSS 1.1%CVE-2015-10100MEDIUMDynamic Widgets Plugin dynwid_class.php sql injectionEPSS 1.1%CVE-2024-50327HIGHSQL injection in Ivanti Endpoint Manager before 2024 November Security Update or 2022 SU6 November Security Update allows a remote authenticEPSS 1.1%CVE-2023-46807MEDIUMAn SQL Injection vulnerability in web component of EPMM before 12.1.0.0 allows an authenticated user with appropriate privilege to access orEPSS 1.1%CVE-2022-40933HIGHOnline Pet Shop We App v1.0 by oretnom23 is vulnerable to SQL injection via /pet_shop/classes/Master.php?f=delete_order,id.EPSS 1.1%CVE-2022-21176HIGHAirspan Networks Mimosa SQL InjectionEPSS 1.1%CVE-2022-26669HIGHASUS Control Center - SQL InjectionEPSS 1.1%CVE-2021-47693HIGHNagios XI < 5.8.5 Core Config Manager (CCM) SQL Injection via Improper Escaping in Search TextEPSS 1.1%CVE-2023-4309CRITICALElection Services Co. (ESC) Internet Election Service is vulnerable to SQL injection in multiple pages and parameters. These vulnerabilitiesEPSS 1.1%CVE-2021-41262HIGHSQL Injection in GaletteEPSS 1.1%CVE-2023-24652HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the Description parameter unEPSS 1.0%CVE-2023-24653HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the oldpass parameter under EPSS 1.0%CVE-2022-46763HIGHA SQL injection issue in a database stored function in TrueConf Server 5.2.0.10225 (fixed in 5.2.6.10025) allows a low-privileged database uEPSS 1.0%CVE-2023-24364HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter underEPSS 1.0%CVE-2023-24654HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the name parameter under theEPSS 1.0%CVE-2023-24656HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the subject parameter under EPSS 1.0%