Falhas do tipo CWE-89

12.877 resultados

Injeção de SQL

Fraqueza onde 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 banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

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%