CVE-2025-28408

An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the selectDeptTree method of the /selectDeptTree/{deptId} endpoint does not…

Critical · published April 7, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

🔥 A sneaky method in RUoYi v.4.8.0 opens the door for remote privilege escalation just by manipulating the deptId parameter — yikes! ⚡ Think of it like a party where the guest list is ignored, allowing anyone to walk in and start throwing their weight around, disrupting everything inside. The selectDeptTree endpoint is like that bouncer who forgot their job and let in uninvited guests. An attacker could escalate their privileges and gain unauthorized access to sensitive areas of the application, leading to potentially catastrophic consequences, like data breaches or unauthorized admin actions. This is a critical vulnerability that needs immediate attention!

Put simply

Think of it like a party where the guest list is ignored, allowing anyone to walk in and start throwing their weight around, disrupting everything inside. The selectDeptTree endpoint is like that bouncer who forgot their job and let in uninvited guests. This vulnerability occurs because the /selectDeptTree/{deptId} endpoint does not properly validate the deptId parameter, allowing an attacker to manipulate it to gain higher privileges without proper authorization checks.

What to do

An attacker could escalate their privileges and gain unauthorized access to sensitive areas of the application, leading to potentially catastrophic consequences, like data breaches or unauthorized admin actions. This is a critical vulnerability that needs immediate attention! You should patch RUoYi to version 4.8.1 immediately to address this vulnerability. Additionally, review and strengthen the validation checks around the deptId parameter to prevent unauthorized privilege escalation. Don't forget to audit your access control policies! You’ve got this! Implement these changes now, and you’ll keep your application secure and running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00651 · 50.6th percentile
Published
2025-04-07T00:00Z
EPSS history
Timeline
  • 07 APR 00:00Z
    An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the selectDeptTree method of the /selectDeptTree/{deptId} endpoint does not…
    cvelistv5