Falhas do tipo CWE-89

12.920 resultados

Injeção de SQL

Fraqueza onde entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

CVE-2023-32306HIGHTime Tracker has Blind SQL Injection Vulnerability in ReportsEPSS 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-5589HIGHSourceCodester Judging Management System login.php 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-2023-7131MEDIUMcode-projects Intern Membership Management System User Registration 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-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-2024-1514CRITICALWP eCommerce <= 3.15.1 - Unauthenticated SQL InjectionEPSS 0.7%