Fallos del tipo CWE-89

12.875 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-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-2021-41262HIGHSQL Injection in GaletteEPSS 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-2023-24652HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the Description parameter unEPSS 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-24653HIGHSimple Customer Relationship Management System v1.0 was discovered to contain a SQL injection vulnerability via the oldpass parameter under EPSS 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%