Fallos del tipo CWE-89

12.989 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-2025-4312MEDIUMSourceCodester Advanced Web Store productdetail.php sql injectionEPSS 0.6%CVE-2025-4314MEDIUMSourceCodester Advanced Web Store index.php sql injectionEPSS 0.6%CVE-2025-4074MEDIUMPHPGurukul Curfew e-Pass Management System pass-bwdates-report.php sql injectionEPSS 0.6%CVE-2025-4073MEDIUMPHPGurukul Student Record System change-password.php sql injectionEPSS 0.6%CVE-2025-4297MEDIUMPHPGurukul Men Salon Management System change-password.php sql injectionEPSS 0.6%CVE-2025-4303MEDIUMPHPGurukul Human Metapneumovirus Testing Management System add-phlebotomist.php sql injectionEPSS 0.6%CVE-2022-45932HIGHA SQL injection issue was discovered in AAA in OpenDaylight (ODL) before 0.16.5. The aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datEPSS 0.6%CVE-2023-24204MEDIUMSQL injection vulnerability in SourceCodester Simple Customer Relationship Management System v1.0 allows attacker to execute arbitrary code EPSS 0.6%CVE-2025-4306MEDIUMPHPGurukul Nipah Virus Testing Management System edit-phlebotomist.php sql injectionEPSS 0.6%CVE-2025-3383MEDIUMSourceCodester Web-based Pharmacy Product Management System search_sales.php sql injectionEPSS 0.6%CVE-2022-46808HIGHWordPress ARMember Plugin <= 3.4.11 is vulnerable to SQL InjectionEPSS 0.6%CVE-2025-22783HIGHWordPress SEO Plugin by Squirrly SEO plugin <= 12.4.03 - SQL Injection vulnerabilityEPSS 0.6%CVE-2025-4191MEDIUMPHPGurukul Employee Record Management System editmyeducation.php sql injectionEPSS 0.6%CVE-2025-3694MEDIUMSourceCodester Web-based Pharmacy Product Management System Login sql injectionEPSS 0.6%CVE-2025-50567CRITICALSaurus CMS Community Edition 4.7.1 contains a vulnerability in the custom DB::prepare() function, which uses preg_replace() with the deprecaEPSS 0.6%CVE-2025-3185MEDIUMprojectworlds Online Doctor Appointment Booking System patientupdateprofile.php sql injectionEPSS 0.6%CVE-2024-27709CRITICALSQL Injection vulnerability in Eskooly Web Product v.3.0 allows a remote attacker to execute arbitrary code via the searchby parameter of thEPSS 0.6%CVE-2026-43937HIGHYAF.NET: Pre-Handler Authorization Bypass on Admin Pages Enabling Blind SQL Execution via `/Admin/RunSql`EPSS 0.6%CVE-2022-2807CRITICALSQL Injection in Prens Student Information SystemEPSS 0.6%CVE-2023-33209HIGHWordPress SEO Change Monitor Plugin <= 1.2 is vulnerable to SQL InjectionEPSS 0.6%