CVE-2023-49371

RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit

published December 1, 2023

CVSS
—
EPSS
4%
Percentile
89.6
In the wild
Unconfirmed
What it is

⚠️ A sneaky SQL injection lives in RuoYi versions up to 4.6, lurking in the /system/dept/edit path! Think of a restaurant where anyone can change the menu simply by writing on the chalkboard out front — that’s what this vulnerability allows, opening the door for attackers to tweak your database without permission! If exploited, an attacker could manipulate the database, potentially leading to data leaks, unauthorized access, or even data corruption. While this vulnerability hasn't been widely exploited yet, its presence makes your application a tempting target. This is not a fun scenario!

Put simply

Think of a restaurant where anyone can change the menu simply by writing on the chalkboard out front — that’s what this vulnerability allows, opening the door for attackers to tweak your database without permission! This SQL injection vulnerability allows attackers to execute arbitrary SQL queries against the database through the /system/dept/edit endpoint, giving them unauthorized control over the data stored within.

What to do

If exploited, an attacker could manipulate the database, potentially leading to data leaks, unauthorized access, or even data corruption. While this vulnerability hasn't been widely exploited yet, its presence makes your application a tempting target. This is not a fun scenario! Upgrade RuoYi to the latest version immediately to patch this vulnerability. Additionally, validate and sanitize all user inputs to prevent future SQL injections. Regularly reviewing your application for vulnerabilities is also a smart practice! You've got this! Implement these steps and you'll be back in the security groove in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03655 · 89.6th percentile
Published
2023-12-01T00:00Z
EPSS history
Timeline
  • 01 DEC 00:00Z
    RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit
    cvelistv5