Fallos del tipo CWE-89

12.958 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-2023-7022MEDIUMTongda OA 2017 delete_all.php sql injectionEPSS 0.7%CVE-2022-47432MEDIUMWordPress Shortcode IMDB Plugin <= 6.0.8 is vulnerable to SQL InjectionEPSS 0.7%CVE-2026-75334CRITICALThe report module in the backend of smart-web2 v1.3.1 is vulnerable to arbitrary SQL execution. The sqlResource.sql parameter is stored in tEPSS 0.7%CVE-2023-6921CRITICALSQL Injection in PrestaShop Google IntegratorEPSS 0.7%CVE-2026-5100HIGHAWP Classifieds <= 4.4.5 - Unauthenticated SQL Injection via 'regions'EPSS 0.7%CVE-2026-2993HIGHAI Chatbot & Workflow Automation by AIWU <= 1.4.17 - Unauthenticated SQL Injection in getListForTbl()EPSS 0.7%CVE-2024-42765CRITICALA SQL injection vulnerability in "/login.php" of the Kashipara Bus Ticket Reservation System v1.0 allows remote attackers to execute arbitraEPSS 0.7%CVE-2023-3120MEDIUMSourceCodester Service Provider Management System view_service.php sql injectionEPSS 0.7%CVE-2023-5918MEDIUMSourceCodester Visitor Management System manage_user.php sql injectionEPSS 0.7%CVE-2014-125051MEDIUMhimiklab yii2-jqgrid-widget JqGridAction.php addSearchOptionsRecursively sql injectionEPSS 0.7%CVE-2024-46902MEDIUMA vulnerability in Trend Micro Deep Discovery Inspector (DDI) versions 5.8 and above could allow an attacker to disclose sensitive informatiEPSS 0.7%CVE-2024-2393MEDIUMSourceCodester CRUD without Page Reload add_user.php sql injectionEPSS 0.7%CVE-2024-9460MEDIUMCodezips Online Shopping Portal index.php sql injectionEPSS 0.7%CVE-2024-2804CRITICALNetwork Summary <= 2.0.11 - Unauthenticated SQL InjectionEPSS 0.7%CVE-2021-38239HIGHSQL Injection vulnerability in dataease before 1.2.0, allows attackers to gain sensitive information via the orders parameter to /api/sys_msEPSS 0.7%CVE-2023-5787HIGHShaanxi Chanming Education Technology Score Query System sql injectionEPSS 0.7%CVE-2023-34603HIGHJeecgBoot up to v 3.5.1 was discovered to contain a SQL injection vulnerability via the component queryFilterTableDictInfo at org.jeecg.moduEPSS 0.7%CVE-2024-2073MEDIUMSourceCodester Block Inserter for Dynamic Content view_post.php sql injectionEPSS 0.7%CVE-2025-59389HIGHHyper Data ProtectorEPSS 0.7%CVE-2021-4301MEDIUMslackero phpwcms sql injectionEPSS 0.7%