Authenticated code execution via whitelist bypass
Published Jan 27, 2025 · Updated Feb 12, 2025
Remote code execution in RuoYi 4.0 through 4.8 allows remote authenticated users to run arbitrary methods through scheduled jobs. JobInvokeUtil derives a bean or class name from the administrator-controlled invokeTarget value, and getBeanName processing permits a whitelist bypass before reflective method invocation. Administrative scheduled-task access is required, and successful exploitation executes code with the server process's privileges.
Summary
What happened
Remote code execution in RuoYi 4.0 through 4.8 allows remote authenticated users to run arbitrary methods through scheduled jobs. JobInvokeUtil derives a bean or class name from the administrator-controlled invokeTarget value, and getBeanName processing permits a whitelist bypass before reflective method invocation. Administrative scheduled-task access is required, and successful exploitation executes code with the server process's privileges.
The record
- CVE
- CVE-2025-0734
- Published
- Jan 27, 2025
- Updated
- Feb 12, 2025
- Vendor
- yangzongzhuan
- Product
- RuoYi
- Classifications
- CWE-20, CWE-502, T1059
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 27, 2025CVE publishedPublication date reported by the CVE source.
- Feb 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.0
- Affected versionversion=4.1
- Affected versionversion=4.2
- Affected versionversion=4.3
- Affected versionversion=4.4
- Affected versionversion=4.5
- Affected versionversion=4.6
- Affected versionversion=4.7
- Affected versionversion=4.8
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GSBP RuoYi whitelist-bypass proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo