Fallos del tipo CWE-89

12.877 resultados

Injeção de SQL

Ocorre quando dados fornecidos por um usuário são incorporados diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante modifique a lógica da consulta. O risco é grave: exposição de dados sensíveis, modificação ou deleção de registros, e até comprometimento do servidor de banco de dados.

Ejemplo

Um formulário de login que constrói a consulta como `SELECT * FROM users WHERE login = '` + entrada_do_usuario + `'` permite que alguém digite `admin' --` e contorne a verificação de senha, ou `' OR '1'='1` para listar todos os usuários.

Cómo mitigar

Use prepared statements ou stored procedures com parâmetros vinculados (nunca concatenação de strings). Se necessário filtrar, aplique whitelist rigorosa e escape adequado para o banco de dados específico. Implemente validação de entrada e princípio do menor privilégio na conta do banco.

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-2017-20130MEDIUMItech Real Estate Script search_property.php sql injectionEPSS 1.0%CVE-2023-22900CRITICALThinking Software Technology Co., Ltd. Efence - 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%