Falhas do tipo CWE-89

13.416 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-2025-48650HIGHIn multiple locations, there is a possible information disclosure due to SQL injection. This could lead to local escalation of privilege witEPSS 0.1%CVE-2025-32327HIGHIn multiple functions of PickerDbFacade.java, there is a possible unauthorized data access due to SQL injection. This could lead to local esEPSS 0.1%CVE-2026-0075HIGHIn multiple functions, there is a possible way to access the contacts database due to a SQL injection. This could lead to local escalation oEPSS 0.1%CVE-2025-48544HIGHIn multiple locations, there is a possible way to read files belonging to other apps due to SQL injection. This could lead to local escalatiEPSS 0.1%CVE-2026-116060MEDIUMSourceCodester Performance Indicator System adddealer.php sql injectionEPSS —CVE-2026-116211HIGHYesWiki 4.5.0 before 4.7.0 SQL Injection via date_maj_fiche in Bazar entry createEPSS —CVE-2026-115999MEDIUMmansi-k Restaurant_IMS lsmodal.php mysqli_connect sql injectionEPSS —CVE-2026-116170MEDIUMSiYuan before v3.8.7 SQL Injection via History Search op and queryEPSS —CVE-2026-116207HIGHYesWiki 4.6.0 before 4.7.0 SQL Injection via Bazar Entries Search APIEPSS —CVE-2026-115997MEDIUMpig-mesh pig SqlFilterArgumentResolver.java orderItem.getColumn sql injectionEPSS —CVE-2026-116050MEDIUMkrupalshah Employee Recruitment System Registration registerform3.php sql injectionEPSS —CVE-2026-116055MEDIUMSourceCodester Performance Indicator System deleteproduct.php sql injectionEPSS —CVE-2026-116049MEDIUMkrupalshah EmployeeRecruitmentSystem Registration Wizard registerform2.php mysql_query sql injectionEPSS —CVE-2026-116048MEDIUMkrupalshah EmployeeRecruitmentSystem Registration registerform1.php mysql_query sql injectionEPSS —CVE-2026-116062MEDIUMSourceCodester Performance Indicator System save_profile.php sql injectionEPSS —CVE-2026-116061MEDIUMSourceCodester Performance Indicator System edit_dealer.php sql injectionEPSS —