| 제목 | caoqianming django-vue-admin newest Improper Access Controls |
|---|
| 설명 | An issue was discovered in caoqianming/django-vue-admin (Django + DRF admin framework). The user update endpoint `PUT /api/system/user/{id}/` accepts `is_superuser` as a writable field through `UserModifySerializer` (whose `Meta.fields` includes it), and `UserViewSet` requires only the `user_update` permission code for this action. A low-privileged authenticated administrator holding only that permission can therefore send `{"is_superuser": true}` and elevate any account — including one they created themselves via the user-creation endpoint, which assigns a known default password `0000` when none is supplied — to Django superuser status. Since the framework's permission resolver (`get_permission_list`) grants `['admin']` to superusers and its `has_permission` short-circuits all checks for that marker, the elevated account bypasses the entire RBAC model (verified: the attacker's own request to create roles was rejected with 403, while the elevated account's identical request succeeded with 201). The same write surface exists in sibling repositories of the same lineage: huge-dream/django-vue3-admin (update serializer declares `fields = "__all__"`) and liqianglog/django-vue-admin (fields additionally include `password` and `last_login`, enabling direct cross-user password changes). |
|---|
| 원천 | ⚠️ https://github.com/caoqianming/django-vue-admin/issues/107 |
|---|
| 사용자 | AliceS614 (UID 94277) |
|---|
| 제출 | 2026. 10. 27. AM 09:16 (29 날 ago) |
|---|
| 모더레이션 | 2026. 11. 25. AM 09:33 (29 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 443677 [caoqianming django-vue-admin 까지 849f9aafa552380c64eecc6059e357f6a1f5437a serializers.py UserModifySerializer 권한 상승] |
|---|
| 포인트들 | 20 |
|---|