Weaknesses of type CWE-89

13,605 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-50330CRITICALSQL injection in Ivanti Endpoint Manager before 2024 November Security Update or 2022 SU6 November Security Update allows a remote unauthentEPSS 40.3%CVE-2026-76461CRITICALCisco Secure Email Gateway SQL Injection VulnerabilityEPSS 40.2%KEVCVE-2021-20016CRITICALA SQL-Injection vulnerability in the SonicWall SSLVPN SMA100 product allows a remote unauthenticated attacker to perform SQL query to accessEPSS 40.0%KEVCVE-2025-52694CRITICALExecution of arbitrary SQL commandsEPSS 39.9%CVE-2024-36465HIGHSQL injection in Zabbix APIEPSS 39.9%CVE-2022-2754—Ketchup Restaurant Reservations <= 1.0.0 - Unauthenticated Blind SQLiEPSS 39.1%CVE-2021-3817CRITICALSQL Injection in wbce/wbce_cmsEPSS 38.4%CVE-2024-40638HIGHGLPI allows account takeover via SQL Injection in AJAX scriptsEPSS 38.3%CVE-2021-24750—WP Visitor Statistics (Real Time Traffic) < 4.8 - Subscriber+ SQL InjectionEPSS 38.3%CVE-2022-46443HIGHmesinkasir Bangresto 1.0 is vulnberable to SQL Injection via the itemqty%5B%5D parameter.EPSS 37.7%CVE-2022-39323HIGHSQL Injection on REST API in GLPIEPSS 37.4%CVE-2022-0739—BookingPress < 1.0.11 - Unauthenticated SQL InjectionEPSS 37.4%CVE-2025-32814CRITICALAn issue was discovered in Infoblox NETMRI before 7.6.1. Unauthenticated SQL Injection can occur.EPSS 37.4%CVE-2022-1905—Events Made Easy < 2.2.81 - Unauthenticated SQLiEPSS 37.1%CVE-2024-4434CRITICALLearnPress – WordPress LMS Plugin <= 4.2.6.5 - Unauthenticated Time-Based SQL InjectionEPSS 36.9%CVE-2025-25064HIGHSQL injection vulnerability in the ZimbraSync Service SOAP endpoint in Zimbra Collaboration 10.0.x before 10.0.12 and 10.1.x before 10.1.4 dEPSS 36.7%CVE-2024-51482CRITICALBoolean-based SQL Injection in ZoneMinder v1.37.* <= 1.37.64EPSS 36.6%CVE-2024-45622CRITICALASIS (aka Aplikasi Sistem Sekolah using CodeIgniter 3) 3.0.0 through 3.2.0 allows index.php username SQL injection for Authentication BypassEPSS 36.4%CVE-2023-41320HIGHAccount takeover via SQL Injection in UI layout preferences in GLPIEPSS 36.2%CVE-2023-1454MEDIUMjeecg-boot qurestSql sql injectionEPSS 36.1%