CVE-2022-29002: Cross-Site Request Forgery in XXL-Job
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3063%
CWE
Published
5/24/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.xuxueli:xxl-job | maven | <= 2.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in the user creation endpoint /gaia-job-admin/user/add. In Spring MVC applications, controller methods handling state-changing operations should be protected with CSRF tokens. The absence of @PostAuthorize
, @PreAuthorize
, or explicit CSRF token validation in the UserController.add
method (or equivalent request mapping) makes it vulnerable. The high confidence comes from: 1) The explicit vulnerability description tying CSRF to this endpoint 2) Common Spring security patterns where unprotected POST handlers are CSRF targets 3) The attack impact requiring no existing privileges aligns with missing authorization annotations.