Falhas do tipo CWE-89

11.885 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-2025-5709MEDIUMcode-projects Real Estate Property Management System InsertCategory.php sql injectionEPSS 0.4%CVE-2025-5705MEDIUMcode-projects Real Estate Property Management System Property.php sql injectionEPSS 0.4%CVE-2026-0501CRITICALSQL Injection Vulnerability in SAP S/4HANA Private Cloud and On-Premise (Financials � General Ledger)EPSS 0.4%CVE-2026-2584CRITICALSQL Injection in Ciser System SL firmwareEPSS 0.4%CVE-2026-1124MEDIUMYonyou KSOA HTTP GET Parameter work_report.jsp sql injectionEPSS 0.4%CVE-2023-6981MEDIUMWP SMS <= 6.5 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site ScriptingEPSS 0.4%CVE-2024-10422MEDIUMSourceCodester Attendance and Payroll System overtime_add.php sql injectionEPSS 0.4%CVE-2025-5711MEDIUMcode-projects Real Estate Property Management System InsertCity.php sql injectionEPSS 0.4%CVE-2025-56385CRITICALA SQL injection vulnerability exists in the login functionality of WellSky Harmony version 4.1.0.2.83 within the 'xmHarmony.asp' endpoint. UEPSS 0.4%CVE-2026-25241CRITICALPEAR is Vulnerable to SQL Injection in /get/<package>/<version> EndpointEPSS 0.4%CVE-2026-2993HIGHAI Chatbot & Workflow Automation by AIWU <= 1.4.17 - Unauthenticated SQL Injection in getListForTbl()EPSS 0.4%CVE-2026-5100HIGHAWP Classifieds <= 4.4.5 - Unauthenticated SQL Injection via 'regions'EPSS 0.4%CVE-2026-22596MEDIUMGhost has SQL Injection in Members Activity FeedEPSS 0.4%CVE-2019-25697HIGHCMSsite 1.0 SQL Injection via category.phpEPSS 0.4%CVE-2026-16227MEDIUMSourceCodester Class and Exam Timetabling System edit_subject.php sql injectionEPSS 0.4%CVE-2025-5212MEDIUMPHPGurukul Employee Record Management System editempexp.php sql injectionEPSS 0.4%CVE-2025-8809MEDIUMcode-projects Online Medicine Guide addelidetails.php sql injectionEPSS 0.4%CVE-2026-13486MEDIUMSourceCodester Class and Exam Timetabling System preview6.php sql injectionEPSS 0.4%CVE-2026-27697MEDIUMbaserCMS: SQL injection vulnerability in blog postEPSS 0.4%CVE-2026-14660MEDIUMcode-projects Online Job Portal login.php sql injectionEPSS 0.4%