提交 #1045035: elunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-89 | Improper Neutralization of Special Elements used in an信息

标题elunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-89 | Improper Neutralization of Special Elements used in an
描述A SQL injection vulnerability exists in eladmin's database maintenance module, where the `SqlUtils.batchExecute()` method executes raw SQL statements from an uploaded `.sql` file using `Statement.addBatch(sql)` without any parameterization, sanitization, or input validation. An attacker can upload a crafted `.sql` file via the `POST /api/database/upload` endpoint to execute arbitrary SQL against the application's database, enabling data exfiltration, modification, or destruction of any table — including the `sys_user` table containing user credentials (usernames, BCrypt password hashes, and email addresses).
来源⚠️ https://github.com/elunez/eladmin/issues/924
用户 poppingsnack (UID 102221)
提交2026-10-20 10時14分 (30 日前)
管理2026-11-18 18時07分 (29 days later)
状态已接受
VulDB条目439651 [elunez eladmin 直到 2.7 Database Maintenance /api/database/upload SqlUtils.batchExecute SQL注入]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!