Soumettre #912244: **Vendor:** jaychouchannel Tourism_Management_System 8122bf020d91199eddfff3ee02d1632a70a9a132 Incorrect Privilege Assignmentinformation

Titre**Vendor:** jaychouchannel Tourism_Management_System 8122bf020d91199eddfff3ee02d1632a70a9a132 Incorrect Privilege Assignment
DescriptionThe affected endpoint is `travel/src/main/java/com/controller/UsersController.java` at `POST /users/register`. It is annotated with `@IgnoreAuth` and inserts a caller-controlled `UsersEntity` directly into the administrative `users` table. The schema in `travel.sql` assigns `users.role` a default value of `管理员` (administrator), while the controller neither blocks public registration nor assigns a least-privileged role. An unauthenticated attacker can register credentials and immediately obtain a token for an administrator account.
La source⚠️ https://github.com/jaychouchannel/Tourism-Management-System/issues/10
Utilisateur
 Chenshiyi (UID 100261)
Soumission31/07/2026 19:12 (il y a 1 mois)
Modérer12/09/2026 12:55 (1 month later)
StatutAccepté
Entrée VulDB403113 [jaychouchannel Tourism-Management-System User Register Endpoint UsersController.java UsersEntity élévation de privilèges]
Points20

Do you need the next level of professionalism?

Upgrade your account now!