Description (CNA)
SmartAdmin through 3.30.0 contains a missing authorization vulnerability in AdminProtectController that allows authenticated low-privileged employees to modify system-wide level-3 protection settings. Attackers can call the unannotated updateConfig and loginFail batchDelete endpoints to disable login lockout and two-factor login, weaken password rules, and clear lockout records.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| 1024-lab / SmartAdmin | affected 0 through 3.30.0 |
CWE
CWE-862
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/smart-admin-level3-protect-config-missing-authz
- https://github.com/1024-lab/smart-admin/blob/v3.30.0/smart-admin-api-java17-springboot3/sa-admin/src/main/java/net/lab1024/sa/admin/module/system/support/AdminProtectController.java#L55-L65
- https://github.com/1024-lab/smart-admin/blob/v3.30.0/smart-admin-api-java17-springboot3/sa-admin/src/main/java/net/lab1024/sa/admin/interceptor/AdminInterceptor.java#L84-L96
- https://www.vulncheck.com/advisories/smartadmin-through-3.30.0-missing-authorization-via-adminprotectcontroller