Falhas do tipo CWE-89

13.084 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-22992CRITICALA SQL Injection vulnerability exists in the /feed/insert.json endpoint of the Emoncms project >= 11.6.9. The vulnerability is caused by imprEPSS 0.5%CVE-2022-43842HIGHIBM Aspera Console SQL injectionEPSS 0.5%CVE-2023-52133HIGHWordPress Most And Least Read Posts Widget Plugin <= 2.5.16 is vulnerable to SQL InjectionEPSS 0.5%CVE-2024-25512HIGHRuvarOA v6.01 and v12.01 were discovered to contain a SQL injection vulnerability via the attach_id parameter at /Bulletin/AttachDownLoad.asEPSS 0.5%CVE-2023-50840HIGHWordPress Booking Manager Plugin <= 2.1.5 is vulnerable to SQL InjectionEPSS 0.5%CVE-2024-31856HIGHCyberPower PowerPanel business SQL InjectionEPSS 0.5%CVE-2026-1422MEDIUMcode-projects Online Examination System Login Page index.php sql injectionEPSS 0.5%CVE-2023-50841HIGHWordPress BookingPress Plugin <= 1.0.72 is vulnerable to SQL InjectionEPSS 0.5%CVE-2024-11251MEDIUMerzhongxmu Jeewms AuthInterceptor cgReportController.do sql injectionEPSS 0.5%CVE-2024-8784MEDIUMQDocs Smart School Management System Chat mynewuser sql injectionEPSS 0.5%CVE-2024-9817MEDIUMcode-projects Blood Bank System update.php sql injectionEPSS 0.5%CVE-2026-27885HIGHPiwigo: SQL Injection in Activity.getListEPSS 0.5%CVE-2024-12351MEDIUMJFinalCMS File Content ContentModel.java findPage sql injectionEPSS 0.5%CVE-2024-7198MEDIUMSourceCodester Complaints Report Management System manage_station.php sql injectionEPSS 0.5%CVE-2024-7290MEDIUMSourceCodester Establishment Billing Management System manage_tenant.php sql injectionEPSS 0.5%CVE-2024-7165MEDIUMSourceCodester School Fees Payment System view_payment.php sql injectionEPSS 0.5%CVE-2024-9319MEDIUMSourceCodester Online Timesheet App delete-timesheet.php sql injectionEPSS 0.5%CVE-2025-0791MEDIUMESAFENET CDG sdDoneDetail.jsp sql injectionEPSS 0.5%CVE-2024-45608MEDIUMGLPI has an Authenticated SQL InjectionEPSS 0.5%CVE-2023-4675CRITICALSQLi i GM Informatics MDOEPSS 0.5%