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-39566HIGHWordPress Hostel plugin <= 1.1.5.6 - SQL Injection VulnerabilityEPSS 0.6%CVE-2023-48260MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2024-5733MEDIUMitsourcecode Online Discussion Forum register_me.php sql injectionEPSS 0.6%CVE-2025-32126HIGHWordPress Pay with Contact Form 7 Plugin <= 1.0.4 - SQL Injection vulnerabilityEPSS 0.6%CVE-2026-73698HIGHFileRun < 2026.3.0 Authenticated SQL Injection via Groups Add ActionEPSS 0.6%CVE-2023-30112HIGHMedicine Tracker System in PHP 1.0.0 is vulnerable to SQL Injection.EPSS 0.6%CVE-2023-48259MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2024-24021CRITICALA SQL injection vulnerability exists in Novel-Plus v4.3.0-RC1 and prior. An attacker can pass specially crafted offset, limit, and sort paraEPSS 0.6%CVE-2024-0502MEDIUMSourceCodester House Rental Management System Edit User manage_user.php sql injectionEPSS 0.6%CVE-2024-10159MEDIUMPHPGurukul Boat Booking System My Profile Page profile.php sql injectionEPSS 0.6%CVE-2024-5381MEDIUMitsourcecode Student Information Management System view.php sql injectionEPSS 0.6%CVE-2026-15300CRITICALGEO my WP <= 4.5.4 - Unauthenticated SQL Injection via 'distance' / 'lat' / 'lng' ParametersEPSS 0.6%CVE-2024-24023CRITICALA SQL injection vulnerability exists in Novel-Plus v4.3.0-RC1 and prior. An attacker can pass specially crafted offset, limit, and sort paraEPSS 0.6%CVE-2025-32203HIGHWordPress Falling things Plugin <= 1.08 - SQL Injection vulnerabilityEPSS 0.6%CVE-2025-32124HIGHWordPress Behance Portfolio Manager plugin <= 1.7.5 - SQL Injection vulnerabilityEPSS 0.6%CVE-2024-5391MEDIUMitsourcecode Online Student Enrollment System listofsubject.php sql injectionEPSS 0.6%CVE-2024-47977HIGHDell Avamar, versions prior to 19.12 with patch 338905, excluding 19.10 and 19.10SP1 with patch 338869, contains an Improper Neutralization EPSS 0.6%CVE-2023-48261MEDIUMThe vulnerability allows a remote unauthenticated attacker to read arbitrary content of the results database via a crafted HTTP request.EPSS 0.6%CVE-2024-5397MEDIUMitsourcecode Online Student Enrollment System instructorSubjects.php sql injectionEPSS 0.6%CVE-2024-9094MEDIUMcode-projects Blood Bank System o-.php sql injectionEPSS 0.6%