Fallos del tipo CWE-89

12.812 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-2021-33730A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 27.7%CVE-2021-33734A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 27.7%CVE-2021-33732A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). A privileged authenticated attacker could execute arbitEPSS 27.7%CVE-2025-9428HIGHSQL InjectionEPSS 27.4%CVE-2022-41133HIGHDelta Electronics DIAEnergieEPSS 26.6%CVE-2022-39066HIGHThere is a SQL injection vulnerability in ZTE MF286R. Due to insufficient validation of the input parameters of the phonebook interface, an EPSS 26.5%CVE-2024-50326HIGHSQL injection in Ivanti Endpoint Manager before 2024 November Security Update or 2022 SU6 November Security Update allows a remote authenticEPSS 26.5%CVE-2022-24627CRITICALAn issue was discovered in AudioCodes Device Manager Express through 7.8.20002.47752. It is an unauthenticated SQL injection in the p parameEPSS 26.4%CVE-2024-50631HIGHImproper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in the system syncing daemon in Synology EPSS 26.2%CVE-2024-31445HIGHSQL Injection vulnerability in automation_get_new_graphs_sqlEPSS 26.2%CVE-2025-22954CRITICALGetLateOrMissingIssues in C4/Serials.pm in Koha before 24.11.02 allows SQL Injection in /serials/lateissues-export.pl via the supplierid or EPSS 25.6%CVE-2024-34785CRITICALAn unspecified SQL injection in Ivanti EPM before 2022 SU6, or the 2024 September update allows a remote authenticated attacker with admin pEPSS 25.4%CVE-2024-32840CRITICALAn unspecified SQL injection in Ivanti EPM before 2022 SU6, or the 2024 September update allows a remote authenticated attacker with admin pEPSS 25.4%CVE-2022-4855HIGHSourceCodester Lead Management System login.php sql injectionEPSS 24.6%CVE-2025-8868CRITICALChef Automate compliance service SQL Injection VulnerabilityEPSS 24.3%CVE-2023-34600CRITICALAdiscon LogAnalyzer v4.1.13 and before is vulnerable to SQL Injection.EPSS 24.2%CVE-2023-6579HIGHosCommerce POST Parameter shopping-cart sql injectionEPSS 24.0%CVE-2024-32845CRITICALAn unspecified SQL injection in Ivanti EPM before 2022 SU6, or the 2024 September update allows a remote authenticated attacker with admin pEPSS 24.0%CVE-2024-34779CRITICALAn unspecified SQL injection in Ivanti EPM before 2022 SU6, or the 2024 September update allows a remote authenticated attacker with admin pEPSS 24.0%CVE-2024-6748HIGHSQL InjectionEPSS 23.8%