| Title | elunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-89 | Improper Neutralization of Special Elements used in an |
|---|
| Description | 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). |
|---|
| Source | ⚠️ https://github.com/elunez/eladmin/issues/924 |
|---|
| User | poppingsnack (UID 102221) |
|---|
| Submission | 10/20/2026 10:14 (29 days ago) |
|---|
| Moderation | 11/18/2026 18:07 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 439651 [elunez eladmin up to 2.7 Database Maintenance /api/database/upload SqlUtils.batchExecute sql injection] |
|---|
| Points | 20 |
|---|