Falhas do tipo CWE-89

12.962 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-2014-125038MEDIUMIS_Projecto2 NewsBean.java sql injectionEPSS 0.7%CVE-2014-125032MEDIUMporpeeranut go-with-me add.php sql injectionEPSS 0.7%CVE-2015-10042MEDIUMDovgalyuk AIBattle procedures.php registerUser sql injectionEPSS 0.7%CVE-2024-55971CRITICALSQL Injection vulnerability in the default configuration of the Logitime WebClock application <= 5.43.0 allows an unauthenticated user to ruEPSS 0.7%CVE-2025-30365CRITICALSQL Injection in query_geracao_auto.phpEPSS 0.7%CVE-2024-38755HIGHWordPress DirectoryPress plugin <= 3.6.10 - SQL Injection vulnerabilityEPSS 0.7%CVE-2017-20150MEDIUMchallenge website sql injectionEPSS 0.7%CVE-2024-9560MEDIUMESAFENET CDG Catelogs;logindojojs delCatelogs sql injectionEPSS 0.7%CVE-2023-5826MEDIUMNetentsec NS-ASG Application Security Gateway list_onlineuser.php sql injectionEPSS 0.7%CVE-2024-6745MEDIUMcode-projects Simple Ticket Booking Login adminauthenticate.php sql injectionEPSS 0.7%CVE-2023-29598CRITICALlmxcms v1.4.1 was discovered to contain a SQL injection vulnerability via the setbook parameter at index.php.EPSS 0.7%CVE-2023-2035MEDIUMCampcodes Video Sharing Website signup.php sql injectionEPSS 0.7%CVE-2024-5774MEDIUMSourceCodester Stock Management System Login index.php sql injectionEPSS 0.7%CVE-2026-22620HIGHImproper input validation in the authentication component of Eaton's Tripp Lite series PADM firmware could allow an unauthenticated remote aEPSS 0.7%CVE-2026-73069CRITICALTwenty: SQL Injection in the `searchVector` Field Settings Allows Arbitrary PostgreSQL ExecutionEPSS 0.7%CVE-2026-78317HIGHDIAEnergie - SQL InjectionEPSS 0.7%CVE-2026-54348HIGHFroxlor: Second-Order SQL Injection via `Admins.add` `ipaddress` Parameter Allows Full Database ExfiltrationEPSS 0.7%CVE-2024-7498MEDIUMitsourcecode Airline Reservation System Admin Login Page login.php login2 sql injectionEPSS 0.7%CVE-2026-78315HIGHDIAEnergie - SQL InjectionEPSS 0.7%CVE-2024-7682MEDIUMcode-projects Job Portal rw_i_nat.php sql injectionEPSS 0.7%