Fallos del tipo CWE-89

12.989 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-0496MEDIUMKashipara Billing Software HTTP POST Request item_list_edit.php sql injectionEPSS 0.6%CVE-2024-24133CRITICALAtmail v6.6.0 was discovered to contain a SQL injection vulnerability via the username parameter on the login page.EPSS 0.6%CVE-2024-5515MEDIUMSourceCodester Stock Management System createBrand.php sql injectionEPSS 0.6%CVE-2024-8023MEDIUMchillzhuang SpringBlade list sql injectionEPSS 0.6%CVE-2025-0233MEDIUMCodezips Project Management System course.php sql injectionEPSS 0.6%CVE-2026-54419CRITICALPIAF-HMS multiple unauthenticated SQL injection vulnerabilities via mysql_queryEPSS 0.6%CVE-2024-35469CRITICALA SQL injection vulnerability in /hrm/user/ in SourceCodester Human Resource Management System 1.0 allows attackers to execute arbitrary SQLEPSS 0.6%CVE-2023-40920CRITICALPrixan prixanconnect up to v1.62 was discovered to contain a SQL injection vulnerability via the component CartsGuruCatalogModuleFrontControEPSS 0.6%CVE-2023-7175MEDIUMCampcodes Online College Library System HTTP POST Request borrow_add.php sql injectionEPSS 0.6%CVE-2026-33910HIGHOpenEMR has a SQL Injection Vulnerability in patient selectionEPSS 0.6%CVE-2024-25849CRITICALIn the module "Make an offer" (makeanoffer) <= 1.7.1 from PrestaToolKit for PrestaShop, a guest can perform SQL injection via MakeOffers::chEPSS 0.6%CVE-2024-0464MEDIUMcode-projects Online Faculty Clearance HTTP GET Request delete_faculty.php sql injectionEPSS 0.6%CVE-2024-24095CRITICALCode-projects Simple Stock System 1.0 is vulnerable to SQL Injection.EPSS 0.6%CVE-2025-56316CRITICALA SQL injection vulnerability in the content_title parameter of the /cms/content/list endpoint in MCMS 5.5.0 allows remote attackers to execEPSS 0.6%CVE-2023-7299MEDIUMDataGear resolveSql sql injectionEPSS 0.6%CVE-2025-5577MEDIUMPHPGurukul Dairy Farm Shop Management System profile.php sql injectionEPSS 0.6%CVE-2025-5576MEDIUMPHPGurukul Dairy Farm Shop Management System bwdate-report-details.php sql injectionEPSS 0.6%CVE-2022-47593HIGHWordPress RapidLoad Power-Up for Autoptimize Plugin <= 1.6.35 is vulnerable to SQL InjectionEPSS 0.6%CVE-2024-7369MEDIUMSourceCodester Simple Realtime Quiz System Login ajax.php sql injectionEPSS 0.6%CVE-2024-5983MEDIUMitsourcecode Online Bookstore bookPerPub.php sql injectionEPSS 0.6%