Falhas do tipo CWE-89

12.878 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-2022-2847MEDIUMSourceCodester Guest Management System front.php sql injectionEPSS 0.9%CVE-2023-5008CRITICALStudent Information System v1.0 - Unauthenticated SQL InjectionEPSS 0.9%CVE-2023-3449MEDIUMIBOS OA Interview Management Export export&interviews=x actionExport sql injectionEPSS 0.9%CVE-2024-3538MEDIUMCampcodes Church Management System addTithes.php sql injectionEPSS 0.9%CVE-2023-24763HIGHIn the module "Xen Forum" (xenforum) for PrestaShop, an authenticated user can perform SQL injection in versions up to 2.13.0.EPSS 0.9%CVE-2024-3539MEDIUMCampcodes Church Management System addgiving.php sql injectionEPSS 0.9%CVE-2024-3537MEDIUMCampcodes Church Management System admin_user.php sql injectionEPSS 0.9%CVE-2022-44945CRITICALRukovoditel v3.2.1 was discovered to contain a SQL injection vulnerability via the heading_field_id parameter.EPSS 0.9%CVE-2024-3536MEDIUMCampcodes Church Management System delete_log.php sql injectionEPSS 0.9%CVE-2023-28437CRITICALSQL injection vulnerability due to the keyword blacklist for defending against SQL injection will be bypassedEPSS 0.9%CVE-2024-3540MEDIUMCampcodes Church Management System add_sundaysch.php sql injectionEPSS 0.9%CVE-2024-1832HIGHSourceCodester Complete File Management System Admin Login Form sql injectionEPSS 0.9%CVE-2023-2370MEDIUMSourceCodester Online DJ Management System GET Parameter manage_event.php sql injectionEPSS 0.9%CVE-2024-10561MEDIUMCodezips Pet Shop Management System birdsupdate.php sql injectionEPSS 0.9%CVE-2024-46626HIGHOS4ED openSIS-Classic v9.1 was discovered to contain a SQL injection vulnerability via a crafted payload.EPSS 0.9%CVE-2023-2658MEDIUMSourceCodester Online Computer and Laptop Store products.php sql injectionEPSS 0.9%CVE-2026-25544CRITICALPayload has an SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite AdaptersEPSS 0.9%CVE-2022-39976CRITICALSchool Activity Updates with SMS Notification v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /modules/EPSS 0.9%CVE-2023-0254HIGHSimple Membership WP user Import <= 1.7 - Authenticated (Admin+) SQL InjectionEPSS 0.9%CVE-2023-2046CRITICALSQLi in Yontem Vehicle TrackingSsystemEPSS 0.9%