CVE-2024-57436
Java vulnerability analysis and mitigation

Overview

RuoYi v4.8.0 was discovered to contain a privilege escalation vulnerability that allows unauthorized attackers to view the session ID of admin users in the system monitoring functionality. The vulnerability was disclosed on January 29, 2025 and affects the RuoYi project, which is a popular open-source permission management system based on SpringBoot with over 6.6k stars on GitHub (GitHub RuoYi, RuoYi Website).

Technical details

The vulnerability stems from insufficient access controls in the system monitoring functionality. Users with system monitoring privileges can view the session IDs of admin users, which are used as identifiers for authentication. Since the system recognizes users by their session IDs, an attacker with monitoring access can impersonate an admin by using their session ID via a crafted cookie. The vulnerability has been assigned a CVSS v3.1 base score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD CVE).

Impact

The vulnerability allows attackers with system monitoring privileges to elevate their permissions to administrative level access. By impersonating an admin user through their session ID, attackers can gain full system access and perform unauthorized administrative actions, including assigning permissions to other users (GitHub POC).

Mitigation and workarounds

Organizations running RuoYi v4.8.0 should restrict access to system monitoring functionality and implement additional session validation mechanisms. A patch version addressing this vulnerability has not been explicitly mentioned in the available sources.

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management