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-2026-9474MEDIUMyashpokharna2555 StudentManagementSystem studentdel.php confirm_logged_in sql injectionEPSS 0.4%CVE-2026-9470MEDIUMyashpokharna2555 StudentManagementSystem student_trans.php confirm_logged_in sql injectionEPSS 0.4%CVE-2026-5534MEDIUMitsourcecode Online Enrollment System Parameter index.php sql injectionEPSS 0.4%CVE-2026-79804MEDIUMSililaWijesinghe Food Ordering System search.php sql injectionEPSS 0.4%CVE-2026-7072MEDIUMCodePanda Source canteen_management_system login.php sql injectionEPSS 0.4%CVE-2026-6163MEDIUMcode-projects Lost and Found Thing Management catageory.php sql injectionEPSS 0.4%CVE-2026-7695MEDIUMAcrel Electrical EEMS Enterprise Power Operation and Maintenance Cloud Platform elecMaxMinAvgValue sql injectionEPSS 0.4%CVE-2026-5665MEDIUMcode-projects Online FIR System Login checklogin.php sql injectionEPSS 0.4%CVE-2026-6149MEDIUMcode-projects Vehicle Showroom Management System BookVehicleFunction.php sql injectionEPSS 0.4%CVE-2026-6037MEDIUMcode-projects Vehicle Showroom Management System AddVehicleFunction.php sql injectionEPSS 0.4%CVE-2026-85138MEDIUMSeaCMS WeChat index.php addslashes sql injectionEPSS 0.4%CVE-2026-9544MEDIUMShenzhen Sixun Software Sixun Shanghui Group Business Management System PayConfig sql injectionEPSS 0.4%CVE-2026-7126MEDIUMSourceCodester Pharmacy Sales and Inventory System ajax.php sql injectionEPSS 0.4%CVE-2026-6187MEDIUMSourceCodester Pharmacy Sales and Inventory System ajax.php sql injectionEPSS 0.4%CVE-2026-82914MEDIUMkishan0725 Hospital-Management-System search.php sql injectionEPSS 0.4%CVE-2026-5648MEDIUMcode-projects Simple Laundry System Parameter userfinishregister.php sql injectionEPSS 0.4%CVE-2026-15907MEDIUMH3C SecPath F1000-C8300 g=log_fw_nbc_mail_jsondata sql injectionEPSS 0.4%CVE-2026-7694MEDIUMAcrel Electrical ECEMS Enterprise Microgrid Energy Efficiency Management System elecMaxMinAvgValue sql injectionEPSS 0.4%CVE-2026-5564MEDIUMcode-projects Simple Laundry System Parameter searchguest.php sql injectionEPSS 0.4%CVE-2026-9573MEDIUMitsourcecode Student Transcript Processing System index.php sql injectionEPSS 0.4%