Fallos del tipo CWE-89

13.301 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-36684CRITICALIn the module "Custom links" (pk_customlinks) <= 2.3 from Promokit.eu for PrestaShop, a guest can perform SQL injection. The script ajax.phpEPSS 0.4%CVE-2025-12597MEDIUMSourceCodester Best House Rental Management System admin_class.php save_category sql injectionEPSS 0.4%CVE-2024-40570MEDIUMSQL Injection vulnerability in SeaCMS v.12.9 allows a remote attacker to obtain sensitive information via the admin_datarelate.php componentEPSS 0.4%CVE-2024-4826CRITICALSQL injection vulnerability in Simple PHP Shopping CartEPSS 0.4%CVE-2020-37035HIGHe-learning Php Script 0.1.0 - 'search' SQL InjectionEPSS 0.4%CVE-2023-33677MEDIUMSourcecodester Lost and Found Information System's Version 1.0 is vulnerable to unauthenticated SQL Injection at "?page=items/view&id=*".EPSS 0.4%CVE-2025-12614MEDIUMSourceCodester Best House Rental Management System admin_class.php delete_payment sql injectionEPSS 0.4%CVE-2024-52057CRITICALPotential arbitrary SQL query execution in Queuing Service while parsing malicious remote commands or configuration filesEPSS 0.4%CVE-2024-29724CRITICALMultiple vulnerabilities in SportsNETEPSS 0.4%CVE-2026-28226MEDIUMPhishing Club has Authenticated Blind SQL Injection in GetOrphaned Recipient ListingEPSS 0.4%CVE-2020-37033HIGHInfor Storefront B2B 1.0 - 'usr_name' SQL InjectionEPSS 0.4%CVE-2024-29731CRITICALMultiple vulnerabilities in SportsNETEPSS 0.4%CVE-2024-33974CRITICALSQL injection in Janobe productsEPSS 0.4%CVE-2019-25528HIGHInout EasyRooms Ultimate Edition v1.0 SQL Injection via searchEPSS 0.4%CVE-2025-70821CRITICALrenren-secuity before v5.5.0 is vulnerable to SQL Injection in the BaseServiceImpl.java componentEPSS 0.4%CVE-2024-34994CRITICALIn the module "Channable" (channable) up to version 3.2.1 from Channable for PrestaShop, a guest can perform SQL injection via `ChannableFeeEPSS 0.4%CVE-2024-29728CRITICALMultiple vulnerabilities in SportsNETEPSS 0.4%CVE-2025-65358CRITICALEdoc-doctor-appointment-system v1.0.1 was discovered to contain SQl injection vulnerability via the 'docid' parameter at /admin/appointment.EPSS 0.4%CVE-2025-12598MEDIUMSourceCodester Best House Rental Management System admin_class.php save_tenant sql injectionEPSS 0.4%CVE-2024-34988CRITICALSQL injection vulnerability in the module "Complete for Create a Quote in Frontend + Backend Pro" (askforaquotemodul) <= 1.0.51 from Buy AddEPSS 0.4%