Weaknesses of type CWE-89

12,831 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-7188MEDIUMBylancer Quicklancer GET Parameter listing sql injectionEPSS 7.0%CVE-2023-5152MEDIUMD-Link DAR-7000/DAR-8000 importexport.php sql injectionEPSS 7.0%CVE-2023-48792CRITICALZoho ManageEngine ADAudit Plus through 7250 is vulnerable to SQL Injection in the report export option.EPSS 7.0%CVE-2023-48793CRITICALZoho ManageEngine ADAudit Plus through 7250 allows SQL Injection in the aggregate report feature.EPSS 7.0%CVE-2022-0693Master Elements <= 8.0 - Unauthenticated SQLiEPSS 6.9%CVE-2023-5204CRITICALAI ChatBot <= 4.8.9 - Unauthenticated SQL Injection via qc_wpbo_search_responseEPSS 6.8%CVE-2022-1883CRITICALSQL Injection in camptocamp/terraboardEPSS 6.8%CVE-2026-8111HIGHSQL injection in the web console of Ivanti Endpoint Manager before version 2024 SU6 allows a remote authenticated attacker to achieve remoteEPSS 6.7%CVE-2021-24627G Auto-Hyperlink <= 1.0.1 - Admin+ SQL InjectionEPSS 6.7%CVE-2024-10600MEDIUMTongda OA 2017 submenu.php sql injectionEPSS 6.6%CVE-2025-32786HIGHGLPI Inventory Plugin is Vulnerable to Unauthenticated SQL InjectionEPSS 6.6%CVE-2021-24554Paytm - Donation Plugin <= 1.3.2 - Authenticated (admin+) SQL InjectionEPSS 6.5%CVE-2022-36976CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-36979HIGHThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. Although autheEPSS 6.5%CVE-2022-36975CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-36972CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-31181CRITICALRemote code execution in prestashopEPSS 6.5%CVE-2025-67736HIGHAuthenticated SQL Injection in FreePBX tts (Text To Speech) moduleEPSS 6.4%CVE-2021-24731Pie Register < 3.7.1.6 - Unauthenticated SQL InjectionEPSS 6.4%CVE-2024-22611CRITICALOpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.class.php and \openemrEPSS 6.3%