Description
Guns through 8.3.5 contains an information disclosure vulnerability in SysUserController where /sysUser/detail and /sysUser/page endpoints omit requiredPermission configuration, causing the permission interceptor to skip RBAC validation for authenticated users. Attackers with any valid login token can retrieve sensitive user information including account names, real names, email addresses, phone numbers, last login IPs, and role assignments for all users in the system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| stylefeng | Guns | ≤ 8.3.5 | — |
References
- GitHub Issue #118 issue-tracking
- https://github.com/stylefeng/Guns product
- https://github.com/stylefeng/Guns/blob/2a12947733945d5c06197d99ecaa77d7f2b0aeba/src/main/java/cn/stylefeng/guns/core/security/TokenAndPermissionInterceptor.java#L110-L119 technical-description
- https://repo1.maven.org/maven2/com/javaguns/roses/system-business-hr/8.3.5/system-business-hr-8.3.5-sources.jar technical-description
- VulnCheck Advisory: Guns through 8.3.5 Information Disclosure via Missing Permission Check third-party-advisory