Falhas do tipo CWE-89

12.881 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-2022-40829CRITICALB.C. Institute of Technology CodeIgniter <=3.1.13 is vulnerable to SQL Injection via system\database\DB_query_builder.php or_like() functionEPSS 1.0%CVE-2022-40872CRITICALAn SQL injection vulnerability issue was discovered in Sourcecodester Simple E-Learning System 1.0., in /vcs/classRoom.php?classCode=, classEPSS 1.0%CVE-2024-29031HIGHMeshery SQL Injection vulnerabilityEPSS 1.0%CVE-2022-36394HIGHWordPress Contest Gallery plugin <= 17.0.4 - Authenticated SQL Injection (SQLi) vulnerabilityEPSS 1.0%CVE-2022-46999CRITICALTuzicms v2.0.6 was discovered to contain a SQL injection vulnerability via the component \App\Manage\Controller\UserController.class.php.EPSS 1.0%CVE-2024-1799HIGHGamiPress – The #1 gamification plugin to reward points, achievements, badges & ranks in WordPress <= 6.8.6 - Authenticated (Contributor+) SQL Injection via ShortcodeEPSS 1.0%CVE-2022-45786HIGHApache AGE: Python and Golang drivers allow data manipulation and exposure due to SQL injectionEPSS 1.0%CVE-2024-48325HIGHPortabilis i-Educar 2.8.0 is vulnerable to SQL Injection in the "getDocuments" function of the "InstituicaoDocumentacaoController" class. ThEPSS 1.0%CVE-2022-40099HIGHOnline Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_EPSS 1.0%CVE-2022-40926HIGHOnline Leave Management System v1.0 is vulnerable to SQL Injection via /leave_system/classes/Master.php?f=delete_leave_type.EPSS 1.0%CVE-2024-7640MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_register.php sql injectionEPSS 1.0%CVE-2024-7639MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_act.php sql injectionEPSS 1.0%CVE-2024-24772MEDIUMApache Superset: Improper Neutralisation of custom SQL on embedded contextEPSS 1.0%CVE-2022-24391HIGHAuthenticated SQL Injection Vulnerability in Fidelis Network and DeceptionEPSS 1.0%CVE-2024-2647HIGHNetentsec NS-ASG Application Security Gateway singlelogin.php sql injectionEPSS 1.0%CVE-2022-45526CRITICALSQL Injection vulnerability in Future-Depth Institutional Management Website (IMS) 1.0, allows attackers to execute arbitrary commands via tEPSS 1.0%CVE-2024-7642MEDIUMSourceCodester Kortex Lite Advocate Office Management System activate_act.php sql injectionEPSS 1.0%CVE-2023-30211CRITICALOURPHP <= 7.2.0 is vulnerable to SQL Injection.EPSS 1.0%CVE-2024-7638MEDIUMSourceCodester Kortex Lite Advocate Office Management System delete_client.php sql injectionEPSS 1.0%CVE-2022-43521HIGHMultiple vulnerabilities in the web-based management interface of Aruba EdgeConnect Enterprise Orchestrator could allow an authenticated remEPSS 1.0%