Weaknesses of type CWE-89

12,888 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-1990HIGHRegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login <= 5.3.1.0 - Authenticated (Contributor+) SQL Injection via ShortcodeEPSS 0.8%CVE-2022-46946HIGHHelmet Store Showroom Site v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=deleteEPSS 0.8%CVE-2022-46953HIGHDynamic Transaction Queuing System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/ajax.php?actiEPSS 0.8%CVE-2023-27844CRITICALSQL injection vulnerability found in PrestaShopleurlrewrite v.1.0 and before allow a remote attacker to gain privileges via the Dispatcher::EPSS 0.8%CVE-2024-1203HIGHConversios – Google Analytics 4 (GA4), Meta Pixel & more Via Google Tag Manager For WooCommerce <= 7.0.7 - Authenticated (Subscriber+) SQL InjectionEPSS 0.8%CVE-2020-36530MEDIUMSevOne Network Management System Alert Summary sql injectionEPSS 0.8%CVE-2023-52153CRITICALA SQL Injection vulnerability in /pmb/opac_css/includes/sessions.inc.php in PMB 7.4.7 and earlier allows remote unauthenticated attackers toEPSS 0.8%CVE-2023-6967HIGHPods - Custom Content Types and Fields - Authenticated (Contributor+) SQL Injection via ShortcodeEPSS 0.8%CVE-2022-46952HIGHDynamic Transaction Queuing System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/ajax.php?actiEPSS 0.8%CVE-2022-46947HIGHHelmet Store Showroom Site v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=deleteEPSS 0.8%CVE-2022-46949HIGHHelmet Store Showroom Site v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /classes/Master.php?f=deleteEPSS 0.8%CVE-2024-3055HIGHUnlimited Elements For Elementor (Free Widgets, Addons, Templates) <= 1.5.102 - Authenticated (Contributor+) SQL InjectionEPSS 0.8%CVE-2022-46951HIGHDynamic Transaction Queuing System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/ajax.php?actiEPSS 0.8%CVE-2021-33948CRITICALSQL injection vulnerability in FantasticLBP Hotels Server v1.0 allows attacker to execute arbitrary code via the username parameter.EPSS 0.8%CVE-2023-2659MEDIUMSourceCodester Online Computer and Laptop Store view_product.php sql injectionEPSS 0.8%CVE-2023-2694MEDIUMSourceCodester Online Exam System POST Parameter data sql injectionEPSS 0.8%CVE-2023-2660MEDIUMSourceCodester Online Computer and Laptop Store view_categories.php sql injectionEPSS 0.8%CVE-2023-2698MEDIUMSourceCodester Lost and Found Information System GET Parameter sql injectionEPSS 0.8%CVE-2023-3473MEDIUMCampcodes Retro Cellphone Online Store edit_product.php sql injectionEPSS 0.8%CVE-2025-57631CRITICALSQL Injection vulnerability in TDuckCloud v.5.1 allows a remote attacker to execute arbitrary code via the Add a file upload moduleEPSS 0.8%