Fallos del tipo CWE-89

12.948 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-2024-25310HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'id' parameter at "School/delete.php?id=5."EPSS 0.7%CVE-2024-10354MEDIUMSourceCodester Petrol Pump Management Software print.php sql injectionEPSS 0.7%CVE-2024-56801MEDIUMTasklists has Blind SQL Injection in /ajax/reorder.phpEPSS 0.7%CVE-2024-25308HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'name' parameter at School/teacher_login.php.EPSS 0.7%CVE-2024-25306HIGHCode-projects Simple School Managment System 1.0 allows SQL Injection via the 'aname' parameter at "School/index.php".EPSS 0.7%CVE-2023-36677HIGHWordPress SP Project & Document Manager Plugin <= 4.67 is vulnerable to SQL InjectionEPSS 0.7%CVE-2023-2451MEDIUMSourceCodester Online DJ Management System GET Parameter view_details.php sql injectionEPSS 0.7%CVE-2023-24956HIGHForget Heart Message Box v1.1 was discovered to contain a SQL injection vulnerability via the name parameter at /cha.php.EPSS 0.7%CVE-2025-48912HIGHApache Superset: Improper authorization bypass on row level security via SQL InjectionEPSS 0.7%CVE-2023-7127MEDIUMcode-projects Automated Voting System Login sql injectionEPSS 0.7%CVE-2023-7100MEDIUMPHPGurukul Restaurant Table Booking System bwdates-report-details.php sql injectionEPSS 0.7%CVE-2023-7156HIGHCampcodes Online College Library System Search index.php sql injectionEPSS 0.7%CVE-2024-25533CRITICALError messages in RuvarOA v6.01 and v12.01 were discovered to leak the physical path of the website (/WorkFlow/OfficeFileUpdate.aspx). This EPSS 0.7%CVE-2023-7131MEDIUMcode-projects Intern Membership Management System User Registration sql injectionEPSS 0.7%CVE-2023-5589HIGHSourceCodester Judging Management System login.php sql injectionEPSS 0.7%CVE-2023-5047CRITICALSQLi in DRDriveEPSS 0.7%CVE-2023-6441CRITICALSQLi in UNI-PA's University Information SystemEPSS 0.7%CVE-2024-24323HIGHSQL injection vulnerability in linlinjava litemall v.1.8.0 allows a remote attacker to obtain sensitive information via the nickname, consigEPSS 0.7%CVE-2024-2329MEDIUMNetentsec NS-ASG Application Security Gateway sql injectionEPSS 0.7%CVE-2023-1863CRITICALSQLi in Eskom Computer Water Metering SoftwareEPSS 0.7%