Fallos del tipo CWE-89

11.961 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-2025-12292MEDIUMSourceCodester Point of Sales index.php sql injectionEPSS 0.4%CVE-2025-10664MEDIUMPHPGurukul Small CRM create-ticket.php sql injectionEPSS 0.4%CVE-2025-6135MEDIUMProjectworlds Life Insurance Management System insertNominee.php sql injectionEPSS 0.4%CVE-2025-0934MEDIUMcode-projects Job Recruitment _call_job_search_ajax.php sql injectionEPSS 0.4%CVE-2025-10025MEDIUMPHPGurukul Online Course Registration semester.php sql injectionEPSS 0.4%CVE-2025-11582MEDIUMcode-projects Online Job Search Engine registration.php sql injectionEPSS 0.4%CVE-2025-10829MEDIUMCampcodes Computer Sales and Inventory System sup_edit1.php sql injectionEPSS 0.4%CVE-2025-10799MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.4%CVE-2025-9839MEDIUMitsourcecode Student Information Management System index.php sql injectionEPSS 0.4%CVE-2025-12316MEDIUMcode-projects Courier Management System edit-courier.php sql injectionEPSS 0.4%CVE-2025-6133MEDIUMProjectworlds Life Insurance Management System insertagent.php sql injectionEPSS 0.4%CVE-2026-33755HIGHAuthenticated SQL Injection in Contact/query addressBookIds filterEPSS 0.4%CVE-2025-70893HIGHA time-based blind SQL Injection vulnerability exists in PHPGurukul Cyber Cafe Management System v1.0 within the adminprofile.php endpoint. EPSS 0.4%CVE-2025-10598MEDIUMSourceCodester Pet Grooming Management Software search_product.php sql injectionEPSS 0.4%CVE-2024-33272MEDIUMSQL injection vulnerability in KnowBand for PrestaShop autosuggest before 2.0.0 allows an attacker to run arbitrary SQL commands via the AutEPSS 0.4%CVE-2025-9678MEDIUMCampcodes Online Loan Management System ajax.php sql injectionEPSS 0.4%CVE-2025-11599MEDIUMCampcodes Online Apartment Visitor Management System forgot-password.php sql injectionEPSS 0.4%CVE-2025-5617MEDIUMPHPGurukul Online Fire Reporting System manage-teams.php sql injectionEPSS 0.4%CVE-2025-5618MEDIUMPHPGurukul Online Fire Reporting System edit-team.php sql injectionEPSS 0.4%CVE-2025-10833MEDIUM1000projects Bookstore Management System login.php sql injectionEPSS 0.4%