Weaknesses of type CWE-89

12,949 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-9972CRITICALChanGate Property Management System - SQL InjectionEPSS 0.7%CVE-2020-36630MEDIUMFreePBX cdr Cdr.class.php ajaxHandler sql injectionEPSS 0.7%CVE-2023-25990HIGHWordPress Tutor LMS Plugin <= 2.1.10 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-34383HIGHWordPress WP Project Manager Plugin <= 2.6.0 is vulnerable to SQL InjectionEPSS 0.7%CVE-2020-36631MEDIUMbarronwaffles dwc_network_server_emulator gs_database.py update_profile sql injectionEPSS 0.7%CVE-2022-47984MEDIUMIBM InfoSphere Information Server SQL injectionEPSS 0.7%CVE-2024-11212MEDIUMSourceCodester Best Employee Management System fetch_product_details.php sql injectionEPSS 0.7%CVE-2023-36529CRITICALWordPress Houzez CRM Plugin <= 1.3.4 is vulnerable to SQL InjectionEPSS 0.7%CVE-2025-7173MEDIUMcode-projects Library System add-student.php sql injectionEPSS 0.7%CVE-2024-6743CRITICALAguardNet Space Management System - SQL injectionEPSS 0.7%CVE-2023-4673CRITICALSQLi in Sanalogy's TurasistanEPSS 0.7%CVE-2024-9130HIGHGiveWP – Donation Plugin and Fundraising Platform <= 3.16.1 - Authenticated (GiveWP Manager+) SQL Injection via order ParameterEPSS 0.7%CVE-2023-3839MEDIUMDedeBIZ sys_sql_query.php sql injectionEPSS 0.7%CVE-2024-8762MEDIUMcode-projects Crud Operation System updatedata.php sql injectionEPSS 0.7%CVE-2026-8705HIGHClearSale Total <= 3.4.2 - Unauthenticated SQL InjectionEPSS 0.7%CVE-2023-28777HIGHWordPress LearnDash LMS Plugin <= 4.5.3 is vulnerable to SQL InjectionEPSS 0.7%CVE-2024-40614MEDIUMEGroupware before 23.1.20240624 mishandles an ORDER BY clause. This leads to json.php?menuaction=EGroupware\Api\Etemplate\Widget\Nextmatch::EPSS 0.7%CVE-2015-10018MEDIUMDBRisinajumi d2files D2filesController.php actionDownloadFile sql injectionEPSS 0.7%CVE-2022-22338MEDIUMIBM Sterling B2B Integrator Standard Edition SQL injectionEPSS 0.7%CVE-2024-0941MEDIUMNovel-Plus list sql injectionEPSS 0.7%