Fallos del tipo CWE-89

12.833 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-2024-7188MEDIUMBylancer Quicklancer GET Parameter listing sql injectionEPSS 7.0%CVE-2023-5152MEDIUMD-Link DAR-7000/DAR-8000 importexport.php sql injectionEPSS 7.0%CVE-2023-48792CRITICALZoho ManageEngine ADAudit Plus through 7250 is vulnerable to SQL Injection in the report export option.EPSS 7.0%CVE-2023-48793CRITICALZoho ManageEngine ADAudit Plus through 7250 allows SQL Injection in the aggregate report feature.EPSS 7.0%CVE-2022-0693Master Elements <= 8.0 - Unauthenticated SQLiEPSS 6.9%CVE-2023-5204CRITICALAI ChatBot <= 4.8.9 - Unauthenticated SQL Injection via qc_wpbo_search_responseEPSS 6.8%CVE-2022-1883CRITICALSQL Injection in camptocamp/terraboardEPSS 6.8%CVE-2026-8111HIGHSQL injection in the web console of Ivanti Endpoint Manager before version 2024 SU6 allows a remote authenticated attacker to achieve remoteEPSS 6.7%CVE-2021-24627G Auto-Hyperlink <= 1.0.1 - Admin+ SQL InjectionEPSS 6.7%CVE-2024-10600MEDIUMTongda OA 2017 submenu.php sql injectionEPSS 6.6%CVE-2025-32786HIGHGLPI Inventory Plugin is Vulnerable to Unauthenticated SQL InjectionEPSS 6.6%CVE-2021-24554Paytm - Donation Plugin <= 1.3.2 - Authenticated (admin+) SQL InjectionEPSS 6.5%CVE-2022-36976CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-36979HIGHThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. Although autheEPSS 6.5%CVE-2022-36975CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-36972CRITICALThis vulnerability allows remote attackers to bypass authentication on affected installations of Ivanti Avalanche 6.3.2.3490. The specific fEPSS 6.5%CVE-2022-31181CRITICALRemote code execution in prestashopEPSS 6.5%CVE-2025-67736HIGHAuthenticated SQL Injection in FreePBX tts (Text To Speech) moduleEPSS 6.4%CVE-2021-24731Pie Register < 3.7.1.6 - Unauthenticated SQL InjectionEPSS 6.4%CVE-2024-22611CRITICALOpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.class.php and \openemrEPSS 6.3%