Description
smart-sso through 2.0.1 contains an incorrect authorization vulnerability in PermissionFilter that allows any authenticated user to call admin console APIs because unlisted paths are permitted by default. Attackers can call /admin/user-role/save to assign themselves the administrator role, reset passwords, and manage users, roles, and applications across integrated systems.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| a466350665 | smart-sso | ≤ 2.0.1 | — |
References
- GitHub Issue #79 issue-tracking
- https://github.com/a466350665/smart-sso product
- Fix commit patch
- https://github.com/a466350665/smart-sso/blob/91d2dfef8973d308fa1b762e4c86dfbcbe9793ff/smart-sso-starter/smart-sso-starter-client/src/main/java/openjoe/smart/sso/client/filter/PermissionFilter.java#L38-L47 technical-description
- https://github.com/a466350665/smart-sso/blob/91d2dfef8973d308fa1b762e4c86dfbcbe9793ff/smart-sso-server/src/main/java/openjoe/smart/sso/server/controller/admin/UserRoleController.java technical-description
- https://github.com/a466350665/smart-sso/commit/a74a791bea7fc7b06ce95f52ce5805d8d7886d48 technical-description patch
- VulnCheck Advisory: smart-sso through 2.0.1 Incorrect Authorization in PermissionFilter Enables Admin Escalation third-party-advisory