Falhas do tipo CWE-89

12.877 resultados

Injeção de SQL

Fraqueza onde entrada do usuário é concatenada diretamente em comandos SQL sem validação ou sanitização, permitindo que um atacante insira código SQL malicioso. O banco de dados executa comandos não intencionais, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Exemplo

Um formulário de login concatena o usuário digitado direto na query: `SELECT * FROM users WHERE login = '` + input + `'`. Se o usuário digita `admin' OR '1'='1`, a query vira `SELECT * FROM users WHERE login = 'admin' OR '1'='1'`, retornando todos os usuários e burlando autenticação.

Como mitigar

Use prepared statements (consultas parametrizadas) com placeholders, nunca concatene entrada do usuário. Valide e restrinja entrada (whitelist), aplique princípio do menor privilégio na conta do BD e use WAF como camada adicional.

CVE-2023-0997HIGHSourceCodester Moosikay E-Commerce System POST Parameter order.php sql injectionEPSS 0.9%CVE-2023-31615HIGHAn issue in the chash_array component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via craftedEPSS 0.9%CVE-2023-4661CRITICALSQLi in Saphira ConnectEPSS 0.9%CVE-2020-16104HIGHSQL Injection vulnerability in Enterprise Data Interface of Gallagher Command Centre allows a remote attacker with 'Edit Enterprise Data IntEPSS 0.9%CVE-2026-32306CRITICALOneUptime ClickHouse SQL Injection via Aggregate Query ParametersEPSS 0.9%CVE-2023-2338HIGH SQL Injection in pimcore/pimcoreEPSS 0.9%CVE-2022-42237CRITICALA SQL Injection issue in Merchandise Online Store v.1.0 allows an attacker to log in to the admin account.EPSS 0.9%CVE-2023-31613HIGHAn issue in the __nss_database_lookup component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) vEPSS 0.9%CVE-2024-1833MEDIUMSourceCodester Employee Management System login.php sql injectionEPSS 0.9%CVE-2024-11962MEDIUMcode-projects Simple Car Rental System login.php sql injectionEPSS 0.9%CVE-2024-4423HIGHAuthentication bypass in CemiParkEPSS 0.9%CVE-2022-47864CRITICALLead Management System v1.0 is vulnerable to SQL Injection via the id parameter in removeCategories.php.EPSS 0.9%CVE-2024-48259HIGHCloudlog 2.6.15 allows Oqrs.php request_form SQL injection via station_id or callsign.EPSS 0.9%CVE-2022-47862CRITICALLead Management System v1.0 is vulnerable to SQL Injection via the customer_id parameter in ajax_represent.php.EPSS 0.9%CVE-2025-0298MEDIUMcode-projects Online Book Shop process_login.php sql injectionEPSS 0.9%CVE-2023-31621HIGHAn issue in the kc_var_col component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted EPSS 0.9%CVE-2023-31616HIGHAn issue in the bif_mod component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted SQLEPSS 0.9%CVE-2023-31629HIGHAn issue in the sqlo_union_scope component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crEPSS 0.9%CVE-2023-31620HIGHAn issue in the dv_compare component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted EPSS 0.9%CVE-2023-31627HIGHAn issue in the strhash component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted SQLEPSS 0.9%