जमा करें #1045033: elunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-20 | Improper Input Validationजानकारी

शीर्षकelunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-20 | Improper Input Validation
विवरणeladmin is vulnerable to an arbitrary file read vulnerability caused by an insufficient JDBC URL sanitization regex in `SqlUtils.sanitizeJdcUrl()`. The regex `(?i)allowLoadLocalInfile=true` only matches the literal string `=true` (case-insensitive) but fails to catch alternative boolean representations such as `=YES`, which MySQL Connector/J accepts as boolean true. By creating a database entry with `allowLoadLocalInfile=YES` in the JDBC URL and then uploading a `.sql` file containing `LOAD DATA LOCAL INFILE '/etc/passwd'` via the `/api/database/upload` endpoint, an authenticated attacker can read arbitrary files from the server filesystem. The uploaded SQL is executed verbatim through `Statement.addBatch()` with no parameterization or content filtering.
स्रोत⚠️ https://github.com/elunez/eladmin/issues/921
उपयोगकर्ता poppingsnack (UID 102221)
सबमिशन20/10/2026 10:12 AM (30 दिन पहले)
संयम18/11/2026 06:07 PM (29 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि439649 [elunez eladmin तक 2.7 JDBC URL Sanitization SqlUtils.sanitizeJdcUrl अधिकार वृद्धि]
अंक20

Do you want to use VulDB in your project?

Use the official API to access entries easily!