yangzongzhuan RuoYi SQL Injection Vulnerability in Blacklist Handler Component

Vulnerability

A SQL injection vulnerability has been identified in yangzongzhuan RuoYi versions through 4.8.1. The issue arises in the Blacklist Handler component, specifically within the 'filterKeyword' function of 'SqlUtil.java'. This vulnerability allows attackers to bypass blacklist protections and manipulate SQL queries, potentially leading to unauthorized data access or modification. The vulnerability can be exploited remotely, and a public exploit is available.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate SQL queries to the database. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to '/tool/gen/createTable' with a crafted SQL injection payload that includes SQL keywords and functions, such as 'union' and 'select', while using '%09' to bypass the application's SQL keyword filter. The injection can be verified by observing the application's response or behavior, such as a delay indicating the successful execution of a 'benchmark' function injection.

Added: Sep 15, 2025, 10:51 PM
Updated: Sep 15, 2025, 10:51 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
0.5
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.