CVE-2022-37199: SQL Injection in jflyfox jfinal

com.jflyfox:jflyfox_jfinal Updated 02 Oct 2025

Summary

24/08/2022
No i
Critical
9.8

CVE-2022-37199: SQL injection in jflyfox jfinal. Affects com.jflyfox:jflyfox_jfinal versions < 5.1.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

JFinal CMS 5.1.0 is an open-source content management system developed by jflyfox. It is built using the JFinal framework and is designed to provide a user-friendly interface for managing website content. The CMS allows users to create, edit, and delete various types of content, including articles, images, and user accounts. However, the CMS is vulnerable to a SQL Injection attack, which can allow an attacker to execute arbitrary SQL queries and potentially gain unauthorized access to the underlying database.

Vulnerability Detail

The SQL Injection vulnerability in JFinal CMS 5.1.0 can be exploited through the '/jfinal_cms/system/user/list' endpoint. By manipulating the input parameters, an attacker can inject malicious SQL code into the underlying database query. This can lead to various security issues, including unauthorized data access, data manipulation, and even remote code execution. The vulnerability has been assigned a CVSS score of 9.8, indicating its critical severity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can implement input validation and sanitization mechanisms to mitigate the risk of SQL Injection. This can involve using parameterized queries or prepared statements to ensure that user input is treated as data and not executable code. Here is an example of using a prepared statement in Java to prevent SQL Injection:

String username = request.getParameter("username");
String password = request.getParameter("password");

String sql = "SELECT * FROM users WHERE username = ? AND password = ?";
PreparedStatement statement = connection.prepareStatement(sql);
statement.setString(1, username);
statement.setString(2, password);

ResultSet resultSet = statement.executeQuery();
// Process the result set

By using prepared statements, the user input is automatically escaped and treated as data, preventing any potential SQL Injection.

Conclusion

The SQL Injection vulnerability in JFinal CMS 5.1.0 poses a significant security risk to users. It is crucial to upgrade to the latest patched version (5.1.1 or later) to mitigate the risk of exploitation. Additionally, implementing input validation and sanitization mechanisms is essential to prevent SQL Injection attacks. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.jflyfox:jflyfox_jfinal →

Share this vulnerability

FAQ

SQL Injection is a type of security vulnerability that allows an attacker to manipulate SQL queries executed by an application. By injecting malicious SQL code, an attacker can bypass authentication, access unauthorized data, modify data, or even execute arbitrary commands on the underlying database.

The SQL Injection vulnerability in JFinal CMS can allow an attacker to execute arbitrary SQL queries and potentially gain unauthorized access to the underlying database. This can lead to data breaches, data manipulation, and other security issues.

There have been no reports of this vulnerability being exploited in the wild at the time of this advisory. However, it is crucial to apply the recommended patches and security measures to mitigate the risk.

No, only JFinal CMS version 5.1.0 is affected by this SQL Injection vulnerability. The developers have released a fix in version 5.1.1, so users are advised to upgrade to the latest patched version.

Yes, this vulnerability has been assigned a CVSS score of 9.8, indicating its critical severity.

Related vulnerabilities

Recent vulnerabilities recorded for com.jflyfox:jflyfox_jfinal.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback