| 标题 | xuxueli xxl-job 3.5.0, 3.5.1-SNAPSHOT Cross-Site Request Forgery |
|---|
| 描述 | Cross-Site Request Forgery in the user management endpoint of XXL-JOB affecting release 3.5.0 and 3.5.1-SNAPSHOT (latest master unfixed as of 2026-10) allows remote attackers to silently create administrator accounts and take over the console with zero credentials.
The endpoint /user/insert is reachable via GET, performs no CSRF token validation, and the admin session cookie is issued without the SameSite attribute. A remote attacker induces a logged-in administrator to open a crafted link to /user/insert with parameters username, password, role=1, permission=-1; the forged top-level navigation GET carries the session cookie and the server responds with code 200 Success, creating a new administrator account with attacker-chosen credentials. The attacker then logs in and gains full administrative control, including job management and code deployment. Verified on a live 3.5.1-SNAPSHOT deployment; the v3.5.0 release source contains the same unprotected /user/insert endpoint (JobUserController.java line 79).
Compared with the code reported for v2.3.0, the user management controller has been rewritten and the endpoint renamed (from /user/add to /user/insert with new logic), yet the rewritten implementation still ships without any CSRF protection, i.e. the current code base contains a new unprotected instance. |
|---|
| 用户 | test008 (UID 99871) |
|---|
| 提交 | 2026-10-23 10時46分 (1 月前) |
|---|
| 管理 | 2026-11-22 17時08分 (1 month later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 420868 [xuxueli XXL-JOB 直到 3.5.0-SNAPSHOT User Management Controller /user/insert 跨网站请求伪造] |
|---|
| 积分 | 0 |
|---|