Falhas do tipo CWE-74

4.788 resultados

Injeção de código

Ocorre quando dados não confiáveis (entrada do usuário) são incorporados diretamente em comandos ou consultas executadas pelo sistema, sem validação ou escape. Um atacante consegue injetar código malicioso (SQL, script, comando) que será interpretado e executado com os privilégios da aplicação.

Exemplo

Uma busca por usuário que concatena a entrada diretamente em SQL: `SELECT * FROM users WHERE name = '` + input + `'`. Se o usuário digitar `' OR '1'='1`, a consulta retorna todos os registros. Com entrada maliciosa como `'; DROP TABLE users; --`, o banco é destruído.

Como mitigar

Use prepared statements ou queries parametrizadas (placeholders) para separar dados de código. Valide e sanitize todas as entradas, aplicando listas de permissão quando possível. Implemente o princípio do menor privilégio: a conta de banco de dados da aplicação deve ter apenas permissões necessárias.

CVE-2025-10798MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.4%CVE-2025-8969MEDIUMitsourcecode Online Tour and Travel Management System approve_user.php sql injectionEPSS 0.4%CVE-2025-10833MEDIUM1000projects Bookstore Management System login.php sql injectionEPSS 0.4%CVE-2025-9601MEDIUMitsourcecode Apartment Management System employee_salary_setup.php sql injectionEPSS 0.4%CVE-2025-10799MEDIUMcode-projects Hostel Management System index.php sql injectionEPSS 0.4%CVE-2025-10459MEDIUMPHPGurukul Beauty Parlour Management System all-appointment.php sql injectionEPSS 0.4%CVE-2025-8973MEDIUMSourceCodester Cashier Queuing System Actions.php sql injectionEPSS 0.4%CVE-2025-10829MEDIUMCampcodes Computer Sales and Inventory System sup_edit1.php sql injectionEPSS 0.4%CVE-2025-10796MEDIUMcode-projects Hostel Management System login.php sql injectionEPSS 0.4%CVE-2025-9009MEDIUMitsourcecode Online Tour and Travel Management System email_setup.php sql injectionEPSS 0.4%CVE-2025-8990MEDIUMcode-projects Online Medicine Guide browsemdcn.php sql injectionEPSS 0.4%CVE-2025-10670MEDIUMitsourcecode E-Logbook with Health Monitoring System for COVID-19 check_profile.php sql injectionEPSS 0.4%CVE-2025-10783MEDIUMCampcodes Online Learning Management System add_subject.php sql injectionEPSS 0.4%CVE-2025-9597MEDIUMitsourcecode Apartment Management System rented_all_info.php sql injectionEPSS 0.4%CVE-2025-25477HIGHA host header injection vulnerability in SysPass 3.2x allows an attacker to load malicious JS files from an arbitrary domain which would be EPSS 0.4%CVE-2025-11479MEDIUMSourceCodester Wedding Reservation Management System function.php insertReservation sql injectionEPSS 0.4%CVE-2025-10112MEDIUMitsourcecode Student Information Management System index.php sql injectionEPSS 0.4%CVE-2025-9047MEDIUMprojectworlds Visitor Management System visitor_out.php sql injectionEPSS 0.4%CVE-2025-8982MEDIUMitsourcecode Online Tour and Travel Management System currency.php sql injectionEPSS 0.4%CVE-2025-10111MEDIUMitsourcecode Student Information Management System index.php sql injectionEPSS 0.4%