Weaknesses of type CWE-89

13,523 results

Injeção SQL

Ocorre quando 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 aplicativo executa a consulta alterada, comprometendo confidencialidade, integridade e disponibilidade dos dados.

Example

Um formulário de login que monta a query assim: `SELECT * FROM users WHERE email = '" + emailDoFormulario + "'`. Se o usuário digitar `admin'--`, a query vira `SELECT * FROM users WHERE email = 'admin'--'` e bypassa a validação de senha, autenticando como admin.

How to mitigate

Use prepared statements ou stored procedures com parâmetros vinculados (bind parameters). Em Java use PreparedStatement; em Python use placeholders com psycopg2 ou SQLAlchemy; em qualquer linguagem evite concatenação de strings. Combine com validação de entrada e princípio do menor privilégio no banco de dados.

CVE-2021-22859CRITICALEIC e-document system - SQL InjectionEPSS 3.8%CVE-2023-6655HIGHHongjing e-HR Login Interface loadhistroyorgtree sql injectionEPSS 3.7%CVE-2026-48136MEDIUMAuthenticated Administrator Role-Based Access Control Bypass in ComplianceEPSS 3.7%CVE-2024-12270HIGHBeautiful Taxonomy Filters <= 2.4.3 - Unauthenticated SQL InjectionEPSS 3.7%CVE-2022-21664HIGHSQL injection in WordPressEPSS 3.7%CVE-2023-43374CRITICALHoteldruid v3.0.5 was discovered to contain a SQL injection vulnerability via the id_utente_log parameter at /hoteldruid/personalizza.php.EPSS 3.7%CVE-2024-11305MEDIUMAltenergy Power Control Software status_zigbee get_status_zigbee sql injectionEPSS 3.7%CVE-2018-15441CRITICALCisco Prime License Manager SQL Injection VulnerabilityEPSS 3.7%CVE-2023-33338CRITICALOld Age Home Management 1.0 is vulnerable to SQL Injection via the username parameter.EPSS 3.6%CVE-2024-49574HIGHSQL InjectionEPSS 3.6%CVE-2024-33559CRITICALWordPress XStore theme <= 9.3.5 - Unauthenticated SQL Injection vulnerabilityEPSS 3.6%CVE-2017-3221—Blind SQL injection in Inmarsat AmosConnect 8 login form allows remote attackers to access user credentials, including user names and passwoEPSS 3.5%CVE-2017-6050—A SQL Injection issue was discovered in Ecava IntegraXor Versions 5.2.1231.0 and prior. The application fails to properly validate user inpuEPSS 3.5%CVE-2026-25746HIGHOpenEMR has SQL Injection VulnerabilityEPSS 3.5%CVE-2021-27468CRITICALRockwell Automation FactoryTalk AssetCentre SQL InjectionEPSS 3.5%CVE-2022-24281HIGHA vulnerability has been identified in SINEC NMS (All versions < V1.0.3), SINEMA Server V14 (All versions). A privileged authenticated attacEPSS 3.5%CVE-2021-27464CRITICALRockwell Automation FactoryTalk AssetCentre SQL InjectionEPSS 3.5%CVE-2021-38391—A Blind SQL injection vulnerability exists in the /DataHandler/AM/AM_Handler.ashx endpoint of Delta Electronics DIAEnergie Version 1.7.5 andEPSS 3.5%CVE-2023-34754CRITICALbloofox v0.5.2.1 was discovered to contain a SQL injection vulnerability via the pid parameter at admin/index.php?mode=settings&page=pluginsEPSS 3.4%CVE-2024-5827CRITICALArbitrary File Write by Prompt Injection via DuckDB SQL in vanna-ai/vannaEPSS 3.4%