Falhas do tipo CWE-89

12.895 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-2026-13161HIGHTrueBooker <= 1.2.2 - Unauthenticated SQL InjectionEPSS 0.8%CVE-2024-6027CRITICALThemify - WooCommerce Product Filter <= 1.4.9 - Unauthenticated SQL Injection via conditions ParameterEPSS 0.8%CVE-2024-26262HIGHEBM Technologies Uniweb/SoliPACS WebServer - SQL InjectionEPSS 0.8%CVE-2023-4219HIGHSourceCodester Doctors Appointment System login.php sql injectionEPSS 0.8%CVE-2024-3767MEDIUMPHPGurukul News Portal edit-post.php sql injectionEPSS 0.8%CVE-2022-41259MEDIUMSAP SQL Anywhere - version 17.0, allows an authenticated attacker to prevent legitimate users from accessing a SQL Anywhere database server EPSS 0.8%CVE-2024-24002CRITICALjshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStoEPSS 0.8%CVE-2021-32704HIGHImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2-coreEPSS 0.8%CVE-2022-45822CRITICALWordPress Advanced Booking Calendar Plugin <= 1.7.1 is vulnerable to SQL InjectionEPSS 0.8%CVE-2024-55978CRITICALWordPress Code Generator Pro plugin <= 1.2 - SQL Injection vulnerabilityEPSS 0.8%CVE-2024-40443MEDIUMSQL Injection vulnerability in Simple Laboratory Management System using PHP and MySQL v.1.0 allows a remote attacker to cause a denial of sEPSS 0.8%CVE-2016-15031HIGHPHP-Login POST Parameter class.loginscript.php checkLogin sql injectionEPSS 0.8%CVE-2026-67689CRITICALSQL Injection vulnerability in FineAdmin V1.0 allows a remote attacker to execute arbitrary code via the `field` and `order` parameters in pEPSS 0.8%CVE-2022-36276CRITICALSQL injection vulnerability in TCMAN GIMEPSS 0.8%CVE-2026-51821CRITICALSQL Injection vulnerability in Shenzhou Shihan Video Conference System v.1.0 allows a remote attacker to execute arbitrary code via the /useEPSS 0.8%CVE-2026-52186CRITICALSQL Injection vulnerability in UTT nv518G nv518GV3v3.2.7-210919-161313 allows a remote attacker to execute arbitrary code via the gohead/subEPSS 0.8%CVE-2022-42122CRITICALA SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attEPSS 0.8%CVE-2023-1986MEDIUMSourceCodester Online Computer and Laptop Store delete_order sql injectionEPSS 0.8%CVE-2023-1987MEDIUMSourceCodester Online Computer and Laptop Store update_order_status sql injectionEPSS 0.8%CVE-2026-65321CRITICALPyAthena SQL Injection via DefaultParameterFormatter DELETE/CTASEPSS 0.8%