Fallos del tipo CWE-89

13.291 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-2026-6149MEDIUMcode-projects Vehicle Showroom Management System BookVehicleFunction.php sql injectionEPSS 0.4%CVE-2026-6142MEDIUMtushar-2223 Hotel Management System roomdelete.php sql injectionEPSS 0.4%CVE-2026-7087MEDIUMSourceCodester Pharmacy Sales and Inventory System ajax.php sql injectionEPSS 0.4%CVE-2026-5238MEDIUMitsourcecode Payroll Management System Parameter view_employee.php sql injectionEPSS 0.4%CVE-2026-7389MEDIUMEyouCMS common.php GetSortData sql injectionEPSS 0.4%CVE-2026-82914MEDIUMkishan0725 Hospital-Management-System search.php sql injectionEPSS 0.4%CVE-2026-7075MEDIUMitsourcecode Construction Management System locations.php sql injectionEPSS 0.4%CVE-2026-15482MEDIUMAster Telecom Azcall HTTP sis.php sql injectionEPSS 0.4%CVE-2026-6183MEDIUMcode-projects Simple Content Management System index.php sql injectionEPSS 0.4%CVE-2026-5828MEDIUMcode-projects Simple IT Discussion Forum addcomment.php sql injectionEPSS 0.4%CVE-2026-9355MEDIUMSourceCodester Hospitals Patient Records Management System Master.php save_patient_history sql injectionEPSS 0.4%CVE-2026-4841MEDIUMcode-projects Online Food Ordering System Shopping Cart cart.php sql injectionEPSS 0.4%CVE-2026-9575MEDIUMitsourcecode Student Transcript Processing System index.php sql injectionEPSS 0.4%CVE-2026-5182MEDIUMSourceCodester Teacher Record System Parameter sql injectionEPSS 0.4%CVE-2026-84111MEDIUMChanjet CRM jxf_dump_table.php sql injectionEPSS 0.4%CVE-2026-7077MEDIUMitsourcecode Courier Management System edit_parcel.php sql injectionEPSS 0.4%CVE-2025-51567CRITICALA SQL Injection was found in the /exam/user/profile.php page of kashipara Online Exam System V1.0, which allows remote attackers to execute EPSS 0.4%CVE-2026-6166MEDIUMcode-projects Vehicle Showroom Management System UpdateVehicleFunction.php sql injectionEPSS 0.4%CVE-2026-86211MEDIUMrabindralamsal inventory-management-system Login index.php sql injectionEPSS 0.4%CVE-2026-85138MEDIUMSeaCMS WeChat index.php addslashes sql injectionEPSS 0.4%