Weaknesses of type CWE-89

12,874 results

Injeção SQL

Ocorre quando 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 aplicativo executa a consulta alterada, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Example

Um formulário de login que monta a query assim: `SELECT * FROM users WHERE email = '" + emailDoFormulario + "'`. Se o usuário digitar `admin'--`, a query vira `SELECT * FROM users WHERE email = 'admin'--'` e bypassa a validação de senha, autenticando como admin.

How to mitigate

Use prepared statements ou stored procedures com parâmetros vinculados (bind parameters). Em Java use PreparedStatement; em Python use placeholders com psycopg2 ou SQLAlchemy; em qualquer linguagem evite concatenação de strings. Combine com validação de entrada e princípio do menor privilégio no banco de dados.

CVE-2024-13485HIGHLTL Freight Quotes – ABF Freight Edition <= 3.3.7 - Unauthenticated SQL InjectionEPSS 1.0%CVE-2020-8967CRITICALGESIO SQL injection vulnerabilityEPSS 1.0%CVE-2022-38922CRITICALBluePage CMS thru 3.9 processes an insufficiently sanitized HTTP Header Cookie value allowing MySQL Injection in the 'users-cookie-settings'EPSS 1.0%CVE-2022-38923CRITICALBluePage CMS thru v3.9 processes an insufficiently sanitized HTTP Header allowing MySQL Injection in the 'User-Agent' field using a Time-basEPSS 1.0%CVE-2016-15050HIGHNagios XI < 5.2.4 SQL Injection in Notification SearchEPSS 1.0%CVE-2023-0953HIGHInsufficient input sanitization in the documentation feature of Devolutions Server 2022.3.12 and earlier allows an authenticated attacker toEPSS 1.0%CVE-2023-6053MEDIUMTongda OA 2017 delete.php sql injectionEPSS 1.0%CVE-2023-6647HIGHAMTT HiBOS sql injectionEPSS 1.0%CVE-2023-6052MEDIUMTongda OA 2017 delete.php sql injectionEPSS 1.0%CVE-2015-10099MEDIUMCP Appointment Calendar Plugin dex_appointments.php dex_process_ready_to_go_appointment sql injectionEPSS 1.0%CVE-2024-55953HIGHDataease Mysql JDBC Connection Parameters Not Verified Leads to Deserialization and Arbitrary File Read VulnerabilityEPSS 1.0%CVE-2022-44378HIGHAutomotive Shop Management System v1.0 is vulnerable to SQL via /asms/classes/Master.php?f=delete_mechanic.EPSS 1.0%CVE-2023-48901CRITICALA SQL injection vulnerability in tramyardg Autoexpress version 1.3.0, allows remote unauthenticated attackers to execute arbitrary SQL commaEPSS 1.0%CVE-2023-0516MEDIUMSourceCodester Online Tours & Travels Management System Parameter forget_password.php sql injectionEPSS 1.0%CVE-2023-0515MEDIUMSourceCodester Online Tours & Travels Management System Parameter forget_password.php sql injectionEPSS 1.0%CVE-2022-42121HIGHA SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 befoEPSS 1.0%CVE-2024-27298CRITICALParse Server literalizeRegexPart SQL InjectionEPSS 1.0%CVE-2023-29629CRITICALPrestaShop jmsthemelayout 2.5.5 is vulnerable to SQL Injection via ajax_jmsvermegamenu.php.EPSS 1.0%CVE-2023-29632CRITICALPrestaShop jmspagebuilder 3.x is vulnerable to SQL Injection via ajax_jmspagebuilder.php.EPSS 1.0%CVE-2024-48573CRITICALA NoSQL injection vulnerability in AquilaCMS 1.409.20 and prior allows unauthenticated attackers to reset user and administrator account pasEPSS 1.0%