جزئیات آسیبپذیری
CVE-2026-34406
APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint
شرح رسمی (انگلیسی)
APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. Prior to version 2.0.1, the edit_user endpoint (POST /api/auth/edituser/<pk>) allows Any user who can reach that endpoint and submit crafted permission to escalate their own account (or any other account) to superuser by including "is_superuser": true in the request body. The root cause is that CustomUserSerializer explicitly includes is_superuser in its fields list but omits it from read_only_fields, making it a writable field. The edit_user view performs no additional validation to prevent non-superusers from modifying this field. Once is_superuser is set to true, gaining unrestricted access to all application functionality without requiring re-authentication. This issue has been patched in version 2.0.1.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 9.4بحرانی | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| APTRS | APTRS | < 2.0.1 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35 x_refsource_CONFIRM
- https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56 x_refsource_MISC
- https://github.com/APTRS/APTRS/releases/tag/2.0.1 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۱/۱۲
- آخرین بهروزرسانی
- ۱۴۰۵/۰۱/۱۴
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes