Fallos del tipo CWE-89

12.878 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-2022-2468MEDIUMSourceCodester Garage Management System editbrand.php sql injectionEPSS 0.9%CVE-2023-6084MEDIUMTongda OA 2017 delete.php sql injectionEPSS 0.9%CVE-2023-0765HIGHGallery by BestWebSoft < 4.7.0 - Author+ SQL InjectionEPSS 0.9%CVE-2023-1595MEDIUMnovel-plus list sql injectionEPSS 0.9%CVE-2022-47859CRITICALLead Management System v1.0 is vulnerable to SQL Injection via the user_id parameter in changePassword.php.EPSS 0.9%CVE-2023-27569CRITICALThe eo_tags package before 1.3.0 for PrestaShop allows SQL injection via an HTTP User-Agent or Referer header.EPSS 0.9%CVE-2023-24198CRITICALRaffle Draw System v1.0 was discovered to contain multiple SQL injection vulnerabilities at save_winner.php via the ticket_id and draw paramEPSS 0.9%CVE-2023-28659HIGHThe Waiting: One-click Countdowns WordPress Plugin, version <= 0.6.2, is affected by an authenticated SQL injection vulnerability in the pbcEPSS 0.9%CVE-2023-1498MEDIUMcode-projects Responsive Hotel Site Newsletter Log messages.php sql injectionEPSS 0.9%CVE-2023-3307MEDIUMminiCal sql injectionEPSS 0.9%CVE-2023-7105MEDIUMcode-projects E-Commerce Website index_search.php sql injectionEPSS 0.9%CVE-2024-48657HIGHSQL Injection vulnerability in hospital management system in php with source code v.1.0.0 allows a remote attacker to execute arbitrary codeEPSS 0.9%CVE-2026-0603HIGHOrg.hibernate/hibernate-core: hibernate: information disclosure and data deletion via second-order sql injectionEPSS 0.9%CVE-2024-11966MEDIUMPHPGurukul Complaint Management system index.php sql injectionEPSS 0.9%CVE-2024-11965MEDIUMPHPGurukul Complaint Management system reset-password.php sql injectionEPSS 0.9%CVE-2022-48120CRITICALSQL Injection vulnerability in kishan0725 Hospital Management System thru commit 4770d740f2512693ef8fd9aa10a8d17f79fad9bd (on March 13, 2021EPSS 0.9%CVE-2024-11964MEDIUMPHPGurukul Complaint Management system index.php sql injectionEPSS 0.9%CVE-2020-21486HIGHSQL injection vulnerability in PHPOK v.5.4. allows a remote attacker to obtain sensitive information via the _userlist function in framerworEPSS 0.9%CVE-2024-12497MEDIUM1000 Projects Attendance Tracking Management System check_admin_login.php sql injectionEPSS 0.9%CVE-2020-3154MEDIUMCisco Cloud Web Security SQL Injection VulnerabilityEPSS 0.9%