Fallos del tipo CWE-89

12.879 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-2020-3154MEDIUMCisco Cloud Web Security SQL Injection VulnerabilityEPSS 0.9%CVE-2023-48253HIGHThe vulnerability allows a remote authenticated attacker to read or update arbitrary content of the authentication database via a crafted HTEPSS 0.9%CVE-2017-20030MEDIUMPHPList Sending Campain sql injectionEPSS 0.9%CVE-2024-34310HIGHJin Fang Times Content Management System v3.2.3 was discovered to contain a SQL injection vulnerability via the id parameter.EPSS 0.9%CVE-2023-28701CRITICALELITE Web Fax - SQL InjectionEPSS 0.9%CVE-2017-20141MEDIUMItech Movie Portal Script movie.php Union sql injectionEPSS 0.9%CVE-2023-3457MEDIUMSourceCodester Shopping Website index.php sql injectionEPSS 0.9%CVE-2023-3458MEDIUMSourceCodester Shopping Website forgot-password.php sql injectionEPSS 0.9%CVE-2017-20139MEDIUMItech Movie Portal Script show_news.php Error sql injectionEPSS 0.9%CVE-2017-20132MEDIUMItech Multi Vendor Script product-list.php sql injectionEPSS 0.9%CVE-2022-34022HIGHSQL injection vulnerability in ResIOT IOT Platform + LoRaWAN Network Server through 4.1.1000114 via a crafted POST request to /ResiotQueryDBEPSS 0.9%CVE-2017-20134MEDIUMItech Freelancer Script category.php sql injectionEPSS 0.9%CVE-2017-20142MEDIUMItech Movie Portal Script artist-display.php Union sql injectionEPSS 0.9%CVE-2017-20143MEDIUMItech Movie Portal Script film-rating.php Error sql injectionEPSS 0.9%CVE-2022-1358MEDIUMCambium Networks cnMaestro SQL InjectionEPSS 0.9%CVE-2020-27240MEDIUMAn exploitable SQL injection vulnerability exists in ‘getAssets.jsp’ page of OpenClinic GA 5.173.3. The componentStatus parameter in the getEPSS 0.9%CVE-2020-27237MEDIUMAn exploitable SQL injection vulnerability exists in ‘getAssets.jsp’ page of OpenClinic GA 5.173.3. The code parameter in the The nomenclatuEPSS 0.9%CVE-2022-43226HIGHOnline Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /odlms/?page=apEPSS 0.9%CVE-2022-43288HIGHRukovoditel v3.2.1 was discovered to contain a SQL injection vulnerability via the order_by parameter at /rukovoditel/index.php?module=logs/EPSS 0.9%CVE-2020-27241MEDIUMAn exploitable SQL injection vulnerability exists in ‘getAssets.jsp’ page of OpenClinic GA 5.173.3. The serialnumber parameter in the getAssEPSS 0.9%