| Titre | xuxueli xxl-job 3.5.0, 3.5.1-SNAPSHOT Cross-Site Request Forgery |
|---|
| Description | 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. |
|---|
| Utilisateur | test008 (UID 99871) |
|---|
| Soumission | 23/10/2026 10:46 (il y a 1 mois) |
|---|
| Modérer | 22/11/2026 17:08 (1 month later) |
|---|
| Statut | Dupliqué |
|---|
| Entrée VulDB | 420868 [xuxueli XXL-JOB jusqu’à 3.5.0-SNAPSHOT User Management Controller /user/insert cross site request forgery] |
|---|
| Points | 0 |
|---|