Fallos del tipo CWE-89

11.885 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-48570HIGHClient Management System 1.0 was discovered to contain a SQL injection vulnerability via the Between Dates Reports parameter at /admin/bwdatEPSS 0.5%CVE-2025-1821MEDIUMzj1983 zz ZorgAction.java getUserOrgForUserId sql injectionEPSS 0.5%CVE-2024-55160CRITICALGFast between v2 to v3.2 was discovered to contain a SQL injection vulnerability via the OrderBy parameter at /system/operLog/list.EPSS 0.5%CVE-2024-12473MEDIUMAI Scribe – SEO AI Writer, Content Generator, Humanizer, Blog Writer, SEO Optimizer, DALLE-3, AI WordPress Plugin ChatGPT (GPT-4o 128K) <= 2.5 - Authenticated (Contributor+) SQL InjectionEPSS 0.5%CVE-2025-2112MEDIUMuser-xiangpeng yaoqishan MediaInfoService.java getMediaLisByFilter sql injectionEPSS 0.5%CVE-2024-55989HIGHWordPress WP Simple Pay Lite Manager Plugin <= 1.4 - SQL Injection vulnerabilityEPSS 0.5%CVE-2025-1831MEDIUMzj1983 zz ZorgAction.java GetDBUser sql injectionEPSS 0.5%CVE-2024-9976MEDIUMcode-projects Pharmacy Management System manage_customer.php sql injectionEPSS 0.5%CVE-2024-55990HIGHWordPress Mollie for Contact Form 7 plugin <= 5.0.0 - SQL Injection vulnerabilityEPSS 0.5%CVE-2024-13533HIGHSmall Package Quotes – USPS Edition <= 1.3.5 - Unauthenticated SQL InjectionEPSS 0.5%CVE-2024-9973MEDIUMSourceCodester Online Eyewear Shop Report Viewing Page page sql injectionEPSS 0.5%CVE-2019-25212MEDIUMvideo carousel slider with lightbox <= 1.0.6 - Authenticated (Admin+) SQL InjectionEPSS 0.5%CVE-2026-27681CRITICALSQL Injection vulnerability in SAP Business Planning and Consolidation and SAP Business WarehouseEPSS 0.5%CVE-2025-1843MEDIUMMini-Tmall ProductMapper.java select sql injectionEPSS 0.5%CVE-2024-0481MEDIUMTaokeyun HTTP POST Request Goods.php shopGoods sql injectionEPSS 0.5%CVE-2023-3687MEDIUMBylancer QuickVCard GET Parameter blog sql injectionEPSS 0.5%CVE-2023-3690MEDIUMBylancer QuickOrder GET Parameter blog sql injectionEPSS 0.5%CVE-2024-0461MEDIUMcode-projects Online Faculty Clearance HTTP POST Request deactivate.php sql injectionEPSS 0.5%CVE-2023-4445MEDIUMMini-Tmall sql injectionEPSS 0.5%CVE-2023-3624MEDIUMNesote Inout Blockchain FiatExchanger POST Parameter update_marketboxslider sql injectionEPSS 0.5%