Fallos del tipo CWE-89

13.020 resultados

Injeção de SQL

Ocorre quando dados fornecidos por um usuário são incorporados diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante modifique a lógica da consulta. O risco é grave: exposição de dados sensíveis, modificação ou deleção de registros, e até comprometimento do servidor de banco de dados.

Ejemplo

Um formulário de login que constrói a consulta como `SELECT * FROM users WHERE login = '` + entrada_do_usuario + `'` permite que alguém digite `admin' --` e contorne a verificação de senha, ou `' OR '1'='1` para listar todos os usuários.

Cómo mitigar

Use prepared statements ou stored procedures com parâmetros vinculados (nunca concatenação de strings). Se necessário filtrar, aplique whitelist rigorosa e escape adequado para o banco de dados específico. Implemente validação de entrada e princípio do menor privilégio na conta do banco.

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-2024-8222MEDIUMSourceCodester Music Gallery Site sql injectionEPSS 0.6%CVE-2026-12283MEDIUMSQL injection in Amazon Athena Synapse connectorEPSS 0.6%CVE-2025-30524CRITICALWordPress Product Catalog plugin <= 1.0.4 - SQL Injection vulnerabilityEPSS 0.6%CVE-2024-8221MEDIUMSourceCodester Music Gallery Site manage_category.php sql injectionEPSS 0.6%CVE-2023-35911HIGHWordPress Contact Form Generator Plugin <= 2.6.0 is vulnerable to 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%