Falhas do tipo CWE-89

12.905 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-2206MEDIUMCampcodes Retro Basketball Shoes Online Store contactus.php sql injectionEPSS 0.7%CVE-2023-39853MEDIUMSQL Injection vulnerability in Dzzoffice version 2.01, allows remote attackers to obtain sensitive information via the doobj and doevent parEPSS 0.7%CVE-2020-20636HIGHSQL injection vulnerability found in Joyplus-cms v.1.6.0 allows a remote attacker to access sensitive information via the id parameter of thEPSS 0.7%CVE-2015-10053MEDIUMprodigasistemas curupira passwords_controller.rb sql injectionEPSS 0.7%CVE-2025-32870HIGHA vulnerability has been identified in TeleControl Server Basic (All versions < V3.1.2.2). The affected application is vulnerable to SQL injEPSS 0.7%CVE-2025-62519HIGHphpMyFAQ has Authenticated SQL Injection in Configuration Update FunctionalityEPSS 0.7%CVE-2023-2107MEDIUMIBOS del&op=recycle sql injectionEPSS 0.7%CVE-2023-4851MEDIUMIBOS OA edit&op=member sql injectionEPSS 0.7%CVE-2023-4436MEDIUMSourceCodester Inventory Management System edit_update.php sql injectionEPSS 0.7%CVE-2023-4852MEDIUMIBOS OA optimize sql injectionEPSS 0.7%CVE-2023-4201MEDIUMSourceCodester Inventory Management System ex_catagory_data.php sql injectionEPSS 0.7%CVE-2023-2774MEDIUMcode-projects Bus Dispatch and Information System view_branch.php sql injectionEPSS 0.7%CVE-2023-4185MEDIUMSourceCodester Online Hospital Management System patientlogin.php sql injectionEPSS 0.7%CVE-2025-46337CRITICALSQL injection in ADOdb PostgreSQL driver pg_insert_id() methodEPSS 0.7%CVE-2023-3391MEDIUMSourceCodester Human Resource Management System detailview.php sql injectionEPSS 0.7%CVE-2023-4845MEDIUMSourceCodester Simple Membership System account_edit_query.php sql injectionEPSS 0.7%CVE-2023-53960CRITICALSOUND4 IMPACT/FIRST/PULSE/Eco v2.x SQL Injection via Authentication BypassEPSS 0.7%CVE-2023-4866MEDIUMSourceCodester Online Tours & Travels Management System booking.php exec sql injectionEPSS 0.7%CVE-2023-4200MEDIUMSourceCodester Inventory Management System product_data.php. sql injectionEPSS 0.7%CVE-2023-1873CRITICALSQLi in BircardEPSS 0.7%