Description
JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the getRolesByUserId handler of SystemApiController that allows authenticated users to retrieve any user's role codes. Low-privileged attackers can supply arbitrary userId values to GET /sys/api/getRolesByUserId to enumerate role assignments and identify administrator accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jeecgboot | JeecgBoot | ≤ 3.9.5 | — |
References
- Researcher Proof of Concept exploit
- Vulnerable Code (v3.9.5) technical-description
- VulnCheck Advisory: JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getRolesByUserId third-party-advisory