Fallos del tipo CWE-89

11.983 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-29861CRITICALPHP-MYSQL-User-Login-System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter at login.php.EPSS 0.3%CVE-2025-64493MEDIUMSuiteCRM is Vulnerable to Authenticated Blind SQL Injection via GraphQLEPSS 0.3%CVE-2023-53917HIGHAffiliate Me 5.0.1 SQL Injection Vulnerability via Admin PanelEPSS 0.3%CVE-2026-2094HIGHFlowring|Docpedia - SQL InjectionEPSS 0.3%CVE-2026-9470MEDIUMyashpokharna2555 StudentManagementSystem student_trans.php confirm_logged_in sql injectionEPSS 0.3%CVE-2026-9465MEDIUMTiandy Easy7 Integrated Management Platform GetDBDataEx.jsp sql injectionEPSS 0.3%CVE-2026-26708CRITICALsourcecodester Pharmacy Point of Sale System v1.0 is vulnerable to SQL Injection in /pharmacy/manage_user.php.EPSS 0.3%CVE-2025-70981CRITICALCordysCRM 1.4.1 is vulnerable to SQL Injection in the employee list query interface (/user/list) via the departmentIds parameter.EPSS 0.3%CVE-2026-9474MEDIUMyashpokharna2555 StudentManagementSystem studentdel.php confirm_logged_in sql injectionEPSS 0.3%CVE-2026-9525MEDIUMitsourcecode Electronic Judging System edit_judge.php sql injectionEPSS 0.3%CVE-2025-65125CRITICALSQL injection in gosaliajainam/online-movie-booking 5.5 in movie_details.php allows attackers to gain sensitive information.EPSS 0.3%CVE-2026-9526MEDIUMitsourcecode Electronic Judging System edit_team.php sql injectionEPSS 0.3%CVE-2026-36235CRITICALA SQL injection vulnerability was found in the scheduleSubList.php file of itsourcecode Online Student Enrollment System v1.0. The reason foEPSS 0.3%CVE-2026-36232CRITICALA SQL injection vulnerability was found in the instructorClasses.php file of itsourcecode Online Student Enrollment System v1.0. The reason EPSS 0.3%CVE-2026-9447MEDIUMSourceCodester Simple POS and Inventory System search.php sql injectionEPSS 0.3%CVE-2026-9528MEDIUMitsourcecode Electronic Judging System delete_judge.php sql injectionEPSS 0.3%CVE-2025-15003MEDIUMSeaCMS admin_video.php sql injectionEPSS 0.3%CVE-2026-12110MEDIUMTaskbuilder <= 5.0.8 - Authenticated (Subscriber+) SQL Injection via 'task_search' ParameterEPSS 0.3%CVE-2026-12918MEDIUMMail Mint <= 1.24.1 - Authenticated (Administrator+) SQL Injection via 'recipients' ParameterEPSS 0.3%CVE-2025-47657CRITICALWordPress Productive Commerce plugin <= 1.1.40 - SQL Injection vulnerabilityEPSS 0.3%