إرسال #1045030: yangzongzhuan RuoYi 7995a83e04e1a88aaea5a8a7c50570dffcb145e0 CWE-20 | Improper Input Validationالمعلومات

عنوانyangzongzhuan RuoYi 7995a83e04e1a88aaea5a8a7c50570dffcb145e0 CWE-20 | Improper Input Validation
الوصفA mass assignment vulnerability exists in the user registration endpoint (`POST /register`) of the RuoYi framework. When the registration feature is enabled (a legitimate administrator configuration), an unauthenticated remote attacker can inject arbitrary values into sensitive `SysUser` entity fields — including `deptId`, `status`, `userId`, and `createBy` — by simply appending them as POST parameters. Spring MVC binds all request parameters to the `SysUser` model object without any field whitelist or blacklist, and neither the registration service nor the persistence layer sanitizes or clears these fields before inserting the record into the database. This allows the attacker to assign themselves to the root department (privilege escalation), forge the creator identity as `admin` (audit log bypass), and set an arbitrary user ID (identity spoofing).
المصدر⚠️ https://github.com/yangzongzhuan/RuoYi/issues/339
المستخدم poppingsnack (UID 102221)
ارسال20/10/2026 10:06 AM (29 أيام منذ)
الاعتدال18/11/2026 06:19 PM (29 days later)
الحالةتمت الموافقة
إدخال VulDB439656 [yangzongzhuan RuoYi حتى 4.8.3 User Registration Endpoint SysLoginController.java deptId/status/userId/createBy تجاوز الصلاحيات]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!