Fallos del tipo CWE-89

12.038 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-2026-54829HIGHWordPress WP Photo Album Plus plugin <= 9.1.13.005 - SQL Injection vulnerabilityEPSS 0.2%CVE-2018-25191HIGHFacturation System 1.0 SQL Injection via editar_producto.phpEPSS 0.2%CVE-2018-25180HIGHMaitra 1.7.2 SQL Injection and Database File DownloadEPSS 0.2%CVE-2026-50736CRITICALThe pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to a subscriber, executes messageEPSS 0.2%CVE-2018-25257HIGHAdianti Framework 5.5.0 and 5.6.0 SQL Injection via ProfileEPSS 0.2%CVE-2025-48701MEDIUMopenDCIM through 23.04 allows SQL injection in people_depts.php because prepared statements are not used.EPSS 0.2%CVE-2025-29744MEDIUMpg-promise before 11.5.5 is vulnerable to SQL Injection due to improper handling of negative numbers.EPSS 0.2%CVE-2026-11453MEDIUMTiobon Employee Self-Service System Login Endpoint BlogSearch.aspx sql injectionEPSS 0.2%CVE-2026-37592LOWSourcecodester Storage Unit Rental Management System v1.0 is vulnerable to SQL in the file /storage/admin/maintenance/manage_pricing.php.EPSS 0.2%CVE-2026-29953HIGHSQL Injection vulnerability in SchemaHero 0.23.0 via the column parameter to the columnAsInsert function in file plugins/postgres/lib/columnEPSS 0.2%CVE-2026-5206MEDIUMcode-projects Simple Gym Management System Payment sql injectionEPSS 0.2%CVE-2026-8097MEDIUMCodeAstro Online Classroom askquery.php sql injectionEPSS 0.2%CVE-2026-4593MEDIUMerupts erupt MCP Tool EruptDataQuery.java EruptDataQuery sql injectionEPSS 0.2%CVE-2026-9607MEDIUMitsourcecode Courier Management System parcel_list.php sql injectionEPSS 0.2%CVE-2026-2963MEDIUMJinher OA C6 OfficeSupplyTypeRight.aspx sql injectionEPSS 0.2%CVE-2026-6190MEDIUMitsourcecode Construction Management System employees.php sql injectionEPSS 0.2%CVE-2026-7716MEDIUMcode-projects Gym Management System In PHP/Windows NT index.php sql injectionEPSS 0.2%CVE-2026-7266MEDIUMSourceCodester Pizzafy Ecommerce System ajax.php save_order sql injectionEPSS 0.2%CVE-2026-4954MEDIUMmingSoft MCMS Web Content List Endpoint ContentAction.java list sql injectionEPSS 0.2%CVE-2026-33643HIGHSQL Injection vulnerability in SchemaHero 0.23.0 via the column parameter to the mysqlColumnAsInsert function in file plugins/mysql/lib/coluEPSS 0.2%