Fallos del tipo CWE-89

12.881 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-2023-31624HIGHAn issue in the sinv_check_exp component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafEPSS 0.9%CVE-2024-29871CRITICALSQL injection vulnerability in SentrifugoEPSS 0.9%CVE-2022-41439HIGHBilling System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /phpinventory/edituser.php.EPSS 0.9%CVE-2023-1674HIGHSourceCodester School Registration and Fee System POST Parameter login.php sql injectionEPSS 0.9%CVE-2023-31619HIGHAn issue in the sch_name_to_object component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via EPSS 0.9%CVE-2022-41440HIGHBilling System Project v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /phpinventory/editcategory.php.EPSS 0.9%CVE-2024-11956MEDIUMPimcore customer-data-framework list sql injectionEPSS 0.9%CVE-2022-40352HIGHOnline Tours & Travels Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /admin/update_EPSS 0.9%CVE-2022-45536MEDIUMAeroCMS v0.0.1 was discovered to contain a SQL Injection vulnerability via the id parameter at \admin\post_comments.php. This vulnerability EPSS 0.9%CVE-2023-31630HIGHAn issue in the sqlo_query_spec component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via craEPSS 0.9%CVE-2023-31622HIGHAn issue in the sqlc_make_policy_trig component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) vEPSS 0.9%CVE-2023-1352MEDIUMSourceCodester Design and Implementation of Covid-19 Directory on Vaccination System login.php sql injectionEPSS 0.9%CVE-2022-38868HIGHSQL Injection vulnerability in Ehoney version 2.0.0 in models/protocol.go and models/images.go, allows attackers to execute arbitrary code.EPSS 0.9%CVE-2024-3347HIGHSourceCodester Airline Ticket Reservation System activate_jet_details_form_handler.php sql injectionEPSS 0.9%CVE-2022-41551HIGHGarage Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /garage/editorder.php.EPSS 0.9%CVE-2022-43066HIGHOnline Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms/classes/EPSS 0.9%CVE-2022-43352HIGHSanitization Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /php-sms/classes/Master.EPSS 0.9%CVE-2022-44415HIGHAutomotive Shop Management System v1.0 is vulnerable to SQL Injection via /asms/admin/mechanics/view_mechanic.php?id=.EPSS 0.9%CVE-2022-44379HIGHAutomotive Shop Management System v1.0 is vulnerable to SQL Injection via /asms/classes/Master.php?f=delete_service.EPSS 0.9%CVE-2026-67401CRITICALA vulnerability in cPanel allows a mail-enabled account to achieve remote code execution as root through SQLi in EmailTrack componentEPSS 0.9%