إرسال #1045034: elunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-20 | Improper Input Validationالمعلومات

عنوانelunez eladmin 55fbf705956949697dbd68bf9003776609d3d029 CWE-20 | Improper Input Validation
الوصفA critical input validation vulnerability exists in eladmin's Quartz scheduled task subsystem. The `checkBean()` method in `QuartzJobController` only validates that the supplied `beanName` refers to a legitimate `@Service` Spring bean, but it does **not** validate the `methodName` parameter. When a Quartz job is created and subsequently executed, `QuartzRunnable` resolves the method on the target bean via `getDeclaredMethod()`, calls `ReflectionUtils.makeAccessible()` to bypass Java access control (including `private` methods), and then invokes it with `method.invoke()`. This allows an authenticated attacker to invoke **any** declared method on **any** `@Service` bean — including `onlineUserService.kickOutForUsername()` to force-logout arbitrary users, or `jdbcTemplate.queryForMap()` to execute arbitrary SQL. The vulnerability was verified 3/3 times in a fresh container by creating a Quartz job with `beanName=onlineUserService` and `methodName=kickOutForUsername`, executing it via `PUT /api/jobs/exec/{id}`, and confirming successful invocation through the Quartz execution log.
المصدر⚠️ https://github.com/elunez/eladmin/issues/922
المستخدم poppingsnack (UID 102221)
ارسال20/10/2026 10:13 AM (29 أيام منذ)
الاعتدال18/11/2026 06:07 PM (29 days later)
الحالةتمت الموافقة
إدخال VulDB439650 [elunez eladmin حتى 2.7 Quartz /api/jobs/exec CheckBean methodName تجاوز الصلاحيات]
النقاط20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!