Description
Guns through 8.3.5 contains an improper access control vulnerability in SysNoticeController where requiredPermission defaults to false and is not overridden by any action methods. Authenticated users without assigned roles can exploit this to create, edit, delete, publish and retract system-wide notices affecting arbitrary users and departments.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| stylefeng | Guns | ≤ 8.3.5 | — |
References
- GitHub Issue #119 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-portal/8.3.5/system-business-portal-8.3.5-sources.jar technical-description
- VulnCheck Advisory: Guns through 8.3.5 Improper Access Control via SysNoticeController third-party-advisory