Xuxueli xxl-job
cpe:2.3:a:xuxueli:xxl-job:*:*:*:*:*:*:*
- <= 3.1.1
An Insecure Direct Object Reference (IDOR) vulnerability has been identified in Xuxueli XXL-Job versions through 3.1.1. This vulnerability allows authenticated but unauthorized users to access job logs from all groups via the 'getJobsByGroup' function in the 'JobLogController.java' file. The issue arises because the access control mechanisms in place do not properly restrict access to job logs based on user permissions, leading to unauthorized information disclosure.
Exploitation of this vulnerability allows for unauthorized access to job execution logs from all groups, disclosing potentially sensitive operational information.
To reproduce this vulnerability, an authenticated user without assigned job groups can send a request to the '/xxl-job-admin/joblog/getJobsByGroup' endpoint. By manipulating the 'jobGroup' parameter to include IDs from groups not assigned to the user, it is possible to retrieve logs from those groups, bypassing the intended access controls.
It is recommended to apply the 'PermissionInterceptor.validJobGroupPermission' method to the '/xxl-job-admin/joblog/getJobsByGroup' route to enforce proper group-level authorization checks.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.