y_project RuoYi Improper Authorization Vulnerability in Offline Logout Function

Vulnerability

An improper authorization vulnerability has been identified in y_project RuoYi version 4.8.0. The issue arises in the Offline Logout component, specifically within the batchForceLogout function of the monitor/online directory. The vulnerability allows for unauthorized offline logout of users by manipulating the ids argument, and can be exploited remotely. The attack complexity is considered high, making exploitation difficult.

Impact

Exploitation of this vulnerability allows low-privileged users to log off high-privileged users, disrupting their session. Additionally, the vulnerability could be exploited to gain unauthorized access by logging in as an admin user, bypassing normal permission checks.

Reproduction

To reproduce this vulnerability, log in as a regular user and navigate to the offline logout function. Capture the request and replace the ids argument with the session ID of an admin user. After sending the modified request, refresh the online user page to see that the admin user has been logged off successfully.

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

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
0.6
exploitability
5.9
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.