Falhas do tipo CWE-89

13.014 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-2024-13024MEDIUMCodezips Blood Bank Management System campaign.php sql injectionEPSS 0.6%CVE-2024-8335MEDIUMOpenRapid RapidCMS runlogon.php sql injectionEPSS 0.6%CVE-2025-22371CRITICALSQL-injection in admin_login_handler allows unauthenticated user to log in as an administrator in SicommNet BASECEPSS 0.6%CVE-2026-33615CRITICALMB connect line mbCONNECT24 vulnerable to an unauthenticated SQL injection in the setinfo EndpointEPSS 0.6%CVE-2024-8348MEDIUMSourceCodester Computer Laboratory Management System Master.php delete_category sql injectionEPSS 0.6%CVE-2024-8346MEDIUMSourceCodester Computer Laboratory Management System SystemSettings.php update_settings_info sql injectionEPSS 0.6%CVE-2025-28898CRITICALWordPress WP Multistore Locator plugin <= 2.5.2 - SQL Injection vulnerabilityEPSS 0.6%CVE-2024-29001HIGHSolarWinds Platform SWQL Injection Vulnerability EPSS 0.6%CVE-2024-57770HIGHJFinalOA before v2025.01.01 was discovered to contain a SQL injection vulnerability via the component apply/save#oaContractApply.id.EPSS 0.6%CVE-2024-57775HIGHJFinalOA before v2025.01.01 was discovered to contain a SQL injection vulnerability via the component getWorkFlowHis?insid.EPSS 0.6%CVE-2026-12283MEDIUMSQL injection in Amazon Athena Synapse connectorEPSS 0.6%CVE-2024-8222MEDIUMSourceCodester Music Gallery Site sql injectionEPSS 0.6%CVE-2025-30524CRITICALWordPress Product Catalog plugin <= 1.0.4 - SQL Injection vulnerabilityEPSS 0.6%CVE-2023-35911HIGHWordPress Contact Form Generator Plugin <= 2.6.0 is vulnerable to SQL InjectionEPSS 0.6%CVE-2024-8221MEDIUMSourceCodester Music Gallery Site manage_category.php sql injectionEPSS 0.6%CVE-2022-45931HIGHA SQL injection issue was discovered in AAA in OpenDaylight (ODL) before 0.16.5. The aaa-idm-store-h2/src/main/java/org/opendaylight/aaa/datEPSS 0.6%CVE-2025-8378MEDIUMCampcodes Online Hotel Reservation System Login index.php sql injectionEPSS 0.6%CVE-2024-0273MEDIUMKashipara Food Management System addwaste_entry.php sql injectionEPSS 0.6%CVE-2025-10795MEDIUMcode-projects Online Bidding System bidupdate.php sql injectionEPSS 0.6%CVE-2025-10793MEDIUMcode-projects E-Commerce Website admin_account_delete.php sql injectionEPSS 0.6%