JeecgBoot
cpe:2.3:a:jeecg:jeecg-boot:*:*:*:*:*:*:*, +1 more
- <= 3.9.1
A remote code execution vulnerability has been identified in JeecgBoot versions through 3.9.1. The issue arises from unsafe reflection in the FillRuleUtil component, specifically within the SysFillRuleController.edit() method. The vulnerability allows authenticated users to inject malicious class names into the ruleClass parameter of existing fill rules. This injected payload is executed when an administrator creates a department, leading to arbitrary code execution.
Exploitation of this vulnerability allows for second-order remote code execution on the server.
To reproduce this vulnerability, first identify the ID of an existing fill rule. Then, send a POST request to the /sys/fillRule/edit endpoint, injecting a malicious class name into the ruleClass field. After the malicious class name is stored in the database, an administrator can trigger the execution by creating a new department through the /sys/sysDepart/add endpoint. This process will execute the injected payload, resulting in remote code execution.
The vulnerability has been fixed in JeecgBoot version 3.9.2.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.