| Title | xianrendzw EasyReport <=2.0.17.0522_Beta remote code execution |
|---|
| Description | QueryerFactory.create resolves the report queryer implementation by calling Class.forName(dataSource.getQueryerClass()) with no allowlist. An authenticated user with the report.ds:add permission can persist a datasource whose queryerClass is an arbitrary fully-qualified class name. Any subsequent operation that loads that datasource then executes Class.forName, which (with the default initialize=true) runs the named class's static initializer — code execution under the JVM. Five distinct trigger paths reach the same sink. All routes require Shiro authentication.
|
|---|
| Source | ⚠️ https://github.com/xianrendzw/EasyReport/issues/83 |
|---|
| User | Ana10gy (UID 93358) |
|---|
| Submission | 07/02/2026 11:39 (2 months ago) |
|---|
| Moderation | 08/18/2026 20:15 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 391893 [xianrendzw EasyReport up to 2.0.17.0522_Beta QueryerFactory DataSourceController.java DataSourceController.add queryerClass permission] |
|---|
| Points | 20 |
|---|