RUoYi Privilege Escalation Vulnerability in selectDeptTree Method

Vulnerability

A privilege escalation vulnerability exists in RUoYi version 4.8.0. The issue arises in the selectDeptTree method of the /selectDeptTree/{deptId} endpoint, where the deptId parameter is not properly validated. This lack of validation allows remote attackers to manipulate the deptId parameter to escalate privileges.

Impact

Exploitation of this vulnerability allows for unauthorized privilege escalation, potentially leading to elevated access rights within the application.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
5.0
exploitability
6.6
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.