Description (CNA)
pig through 4.1.1 contains a missing authorization vulnerability in SysUserController.user that allows any authenticated user to read other users' profiles via GET /admin/user/details/{id}. Low-privilege attackers can enumerate sequential user ids to obtain usernames, real names, phone numbers, emails, linked third-party accounts, and role assignments.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| pig-mesh / pig | affected 0 through 4.1.1 |
CWE
CWE-862
References
- https://hackmd.io/@hieuPenguinnn/pig-mesh-user-details-byid-missing-authz-idor
- https://github.com/pig-mesh/pig/blob/v4.1.1/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysUserController.java#L94-L102
- https://github.com/pig-mesh/pig
- https://www.vulncheck.com/advisories/pig-through-4.1.1-missing-authorization-via-get-admin-user-details-id
ADP enrichment
No English description supplied.