| Title | yangzongzhuan RuoYi latest broken function level authorization |
|---|
| Description | Product: RuoYi
URL: POST /system/role/authUser/selectAll
Title: Broken Function Level Authorization in Batch Role Assignment
Proof of Concept (PoC):
Log in to the system with any user account, regardless of their permissions.
Capture the request for any authorized action to obtain the Cookie header.
Construct a POST request to /system/role/authUser/selectAll with the following parameters:
roleId: The ID of the role to be assigned (e.g., administrator role ID).
userIds: The ID(s) of the user(s) to whom the role will be assigned.
Send the request with the captured cookie. The user(s) specified will be granted the role. |
|---|
| Source | ⚠️ https://www.cnblogs.com/aibot/p/19063507 |
|---|
| User | Anonymous User |
|---|
| Submission | 09/13/2025 06:21 (7 months ago) |
|---|
| Moderation | 09/25/2025 19:14 (13 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 325912 [yangzongzhuan RuoYi up to 4.8.1 selectAll userIds improper authorization] |
|---|
| Points | 20 |
|---|