JeecgBoot
cpe:2.3:a:jeecg:jeecg-boot:*:*:*:*:*:*:*, +1 more
- <= 3.9.1
A SQL injection vulnerability has been identified in JeecgBoot versions through 3.9.1. The issue resides in the 'loadDict' endpoint of the 'SqlInjectionUtil' class, where the 'keyword' parameter is improperly sanitized before being concatenated into a SQL 'LIKE' clause. This flaw allows authenticated users to inject SQL logic and potentially access sensitive data from the database.
Exploitation of this vulnerability allows authenticated low-privileged users to perform blind SQL injection through the 'loadDict' endpoint. This could lead to unauthorized access to sensitive information, such as password hashes, from the 'sys_user' table.
To reproduce this vulnerability, authenticate as a low-privileged user and obtain a valid access token. Then, send a signed GET request to '/sys/dict/loadDict/{dictCode}' with an injected boolean expression in the 'keyword' parameter. The response will indicate whether the injected condition was true or false, allowing for SQL injection exploitation.
The vulnerability has been fixed in version 3.9.2. Users are advised to update to this version.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.