| tiêu đề | Casdoor v2.356.0 Improper Access Controls |
|---|
| Mô tả | Casbin Policy Allows Anonymous Access to Sensitive Endpoints
**Evidence:** The Casbin authorization policy contains overly broad wildcard rules:
```
p, *, *, POST, /api/upload-resource, *, * // Anyone can upload files
p, *, *, POST, /api/set-password, *, * // Anyone can attempt password changes
p, *, *, *, /scim, *, * // SCIM open to all at policy level
p, *, *, GET, /api/get-user, *, * // Anyone can query users
```
While some endpoints have secondary auth checks in controllers, the defense-in-depth principle is violated. The `/api/upload-resource` being open to anonymous users at the policy level is especially concerning given the path traversal history.
**Fix:** Tighten Casbin policies to require authentication for sensitive endpoints. Use `p, *, *, POST, /api/upload-resource, *, *` should become `p, authenticated, *, POST, /api/upload-resource, *, *` at minimum.
--- |
|---|
| Người dùng | Ghufran Khan (UID 95493) |
|---|
| Đệ trình | 17/03/2026 14:26 (cách đây 6 các tháng) |
|---|
| Kiểm duyệt | 03/04/2026 09:26 (17 days later) |
|---|
| Trạng thái | Bản sao |
|---|
| Mục VulDB | 208210 [Casdoor 1.97.3 /api/upload-resource fullFilePath nâng cao đặc quyền] |
|---|
| điểm | 0 |
|---|