Description (CNA)
lamp-boot 4.16.0-java17 through 4.21.2-java17 contains an insecure direct object reference vulnerability in the oauth module's /anyone/findDeptByCompany endpoint that skips URI permission checks. Authenticated low-privilege users can iterate sequential employeeId values to read every employee's department membership within the tenant.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| zuihou / lamp-boot | affected 4.16.0-java17 through 4.21.2-java17 |
CWE
CWE-639
References
- https://hackmd.io/@hieuPenguinnn/lamp-boot-finddeptbycompany-employee-idor
- https://github.com/zuihou/lamp-boot/blob/ddef8c71de970b915ba1b15e0e9c2dd7414074de/lamp-oauth/lamp-oauth-controller/src/main/java/top/tangyh/lamp/oauth/controller/UserInfoController.java#L167
- https://github.com/zuihou/lamp-boot
- https://www.vulncheck.com/advisories/lamp-boot-4.16.0-java17-through-4.21.2-java17-idor-via-anyone-finddeptbycompany
ADP enrichment
No English description supplied.
No references supplied.