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-2023-29630CRITICALPrestaShop jmsmegamenu 1.1.x and 2.0.x is vulnerable to SQL Injection via ajax_jmsmegamenu.php.EPSS 1.0%CVE-2021-22852HIGHHGiga OAKloud Portal - SQL injection -2EPSS 1.0%CVE-2017-14807HIGHSQL injection in ui-server/app/models/diary_entry.rb in SUSE Studio onsiteEPSS 1.0%CVE-2023-41652HIGHWordPress RSVPMarker Plugin <= 10.6.6 is vulnerable to SQL InjectionEPSS 1.0%CVE-2017-20131MEDIUMItech News Portal information.php sql injectionEPSS 1.0%CVE-2024-5356MEDIUManji-plus AJ-Report testTransform;swagger-ui sql injectionEPSS 1.0%CVE-2023-32754CRITICALThinking Software Efence - SQL injectionEPSS 1.0%CVE-2023-22900CRITICALThinking Software Technology Co., Ltd. Efence - SQL InjectionEPSS 1.0%CVE-2017-20130MEDIUMItech Real Estate Script search_property.php sql injectionEPSS 1.0%CVE-2019-5070MEDIUMAn exploitable SQL injection vulnerability exists in the unauthenticated portion of eFront LMS, versions v5.2.12 and earlier. Specially crafEPSS 1.0%CVE-2023-30016CRITICALSQL Injection vulnerability in oretnom23 Judging Management System v1.0, allows remote attackers to execute arbitrary code and obtain sensitEPSS 1.0%CVE-2023-30015CRITICALSQL Injection vulnerability in oretnom23 Judging Management System v1.0, allows remote attackers to execute arbitrary code and obtain sensitEPSS 1.0%CVE-2024-50491CRITICALWordPress RSVP ME plugin <= 1.9.9 - SQL Injection vulnerabilityEPSS 1.0%CVE-2025-27495CRITICALA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 1.0%CVE-2023-30014CRITICALSQL Injection vulnerability in oretnom23 Judging Management System v1.0, allows remote attackers to execute arbitrary code and obtain sensitEPSS 1.0%CVE-2024-25422CRITICALSQL Injection vulnerability in SEMCMS v.4.8 allows a remote attacker to execute arbitrary code and obtain sensitive information via the SEMCEPSS 1.0%CVE-2023-24685HIGHChurchCRM v4.5.3 and below was discovered to contain a SQL injection vulnerability via the Event parameter under the Event Attendance reportEPSS 1.0%CVE-2020-3450MEDIUMCisco Vision Dynamic Signage Director SQL Injection VulnerabilityEPSS 1.0%CVE-2023-39852CRITICALDoctormms v1.0 was discovered to contain a SQL injection vulnerability via the $userid parameter at myAppoinment.php. NOTE: this is disputedEPSS 1.0%CVE-2022-3395HIGHWP All Export Pro < 1.7.9 - Authenticated SQLiEPSS 1.0%