Fallos del tipo CWE-89

12.042 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-2026-40131LOWSQL Injection vulnerability in SAP HANA Deployment Infrastructure (HDI) deploy libraryEPSS 0.2%CVE-2024-33501MEDIUMTwo improper neutralization of special elements used in an SQL Command ('SQL Injection') vulnerability [CWE-89] in Fortinet FortiAnalyzer veEPSS 0.2%CVE-2025-67407HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_student.php via parameters fname and student_cEPSS 0.2%CVE-2025-67405HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in update_password.php via the parameter new_password.EPSS 0.2%CVE-2026-37336HIGHSourceCodester Simple Music Cloud Community System v1.0 is vulnerable to SQL Injection in the file /music/view_music.php.EPSS 0.2%CVE-2026-37337HIGHSourceCodester Simple Music Cloud Community System v1.0 is vulnerable to SQL Injection in the file /music/view_playlist.php.EPSS 0.2%CVE-2026-36948HIGHSourcecodester Online Thesis Archiving System v1.0 is vulnerale to SQL injection in the file /otas/view_archive.php.EPSS 0.2%CVE-2025-67408HIGHSourcecodester CASAP Automated Enrollment System 1.0 is vulnerable to SQL Injection in /save_user.php via the parameter status.EPSS 0.2%CVE-2025-69945HIGHkishan0725 Hospital Management System 4.0 is vulnerable to SQL Injection in /doctor/edit-patient.php?editid=1.EPSS 0.2%CVE-2025-62192MEDIUMSQL Injection vulnerability exists in GroupSession Free edition prior to ver5.3.0, GroupSession byCloud prior to ver5.3.3, and GroupSession EPSS 0.2%CVE-2025-32753MEDIUMDell PowerScale OneFS, versions 9.5.0.0 through 9.10.0.1, contains an improper neutralization of special elements used in an SQL command ('SEPSS 0.2%CVE-2025-8709HIGHSQL Injection in langchain-ai/langchainEPSS 0.2%CVE-2026-13242MEDIUMGeolocation Field - Critical - SQL Injection - SA-CONTRIB-2026-062EPSS 0.2%CVE-2026-58225LOWSQL injection via unescaped dollar-quote in Postgrex.Notifications reconnect replay causes notification denial of serviceEPSS 0.2%CVE-2025-69946CRITICALSourceCodester Modern Loan Management System 1.0 is vulnerable to SQL Injection in ajaxData.php via the parameters district_id , division_idEPSS 0.2%CVE-2024-12913HIGHSQLi in Megatek Communication System's Azora Wireless Network ManagementEPSS 0.2%CVE-2026-40529MEDIUMCMS ALAYA provided by KANATA Limited contains an SQL injection vulnerability. Information stored in the database may be obtained or altered EPSS 0.2%CVE-2026-14189LOWWPBot AI ChatBot < 8.5.2 - Admin+ Second-Order SQL Injection via qc_bot_str_fieldsEPSS 0.2%CVE-2026-3346MEDIUMStored Cross-Site Scripting (XSS) in Langflow Markdown Rendering via rehypeRawEPSS 0.2%CVE-2026-39179MEDIUMA SQL injection vulnerability in SOGo before 5.12.7 allows authenticated users to execute arbitrary SQL statements via the newPassword paramEPSS 0.2%