Xuxueli XXL-Job Insecure Direct Object Reference Vulnerability in Job Log Access

Vulnerability

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.

Impact

Exploitation of this vulnerability allows for unauthorized access to job execution logs from all groups, disclosing potentially sensitive operational information.

Reproduction

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.

Remediation

It is recommended to apply the 'PermissionInterceptor.validJobGroupPermission' method to the '/xxl-job-admin/joblog/getJobsByGroup' route to enforce proper group-level authorization checks.

Added: Aug 20, 2025, 11:17 PM
Updated: Aug 20, 2025, 11:17 PM

Vulnerability Rating

Custom Algorithm
spread
5.7
impact
2.5
exploitability
6.2
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.