CVE-2022-22880: SQL Injection in Jeecg-boot

Summary

17/02/2022
No i
Critical
9.8

CVE-2022-22880: SQL Injection in Jeecg-boot. Affects org.jeecgframework.boot:jeecg-boot-base versions < 3.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Jeecg-boot is a Maven-based package that provides a framework for developing enterprise-level applications. It offers various features and functionalities to streamline the development process. However, a SQL injection vulnerability has been discovered in Jeecg-boot v3.0. This vulnerability can be exploited through the 'code' parameter in the '/jeecg-boot/sys/user/queryUserByDepId' endpoint.

Vulnerability Detail

The SQL injection vulnerability in Jeecg-boot v3.0 allows an attacker to inject malicious SQL code through the 'code' parameter. This can lead to unauthorized access, data manipulation, or even remote code execution. The vulnerability has a CVSS score of 9.8, indicating its critical severity. Exploiting this vulnerability can have severe consequences for the affected system, including potential data breaches and compromise of sensitive information.

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, it is recommended to disable or restrict access to the '/jeecg-boot/sys/user/queryUserByDepId' endpoint until the vulnerability is patched. This can be done by modifying the application's configuration or using access control mechanisms to limit access to the vulnerable endpoint.

Conclusion

The SQL injection vulnerability in Jeecg-boot v3.0 poses a significant risk to the security and integrity of affected systems. It is crucial to apply the necessary security patches and follow best practices to prevent SQL injection attacks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jeecgframework.boot:jeecg-boot-base →

Share this vulnerability

FAQ

Jeecg-boot is a Maven-based package that provides a framework for developing enterprise-level applications. It offers various features and functionalities to streamline the development process.

A SQL injection vulnerability allows an attacker to manipulate SQL queries by injecting malicious code. This can lead to unauthorized access, data manipulation, or even remote code execution.

Exploiting this vulnerability can result in unauthorized access, data breaches, and compromise of sensitive information. It can also lead to remote code execution, allowing attackers to take control of the affected system.

To fix this vulnerability, it is recommended to upgrade Jeecg-boot to a version that includes the necessary security patches. It is also important to sanitize and validate user input to prevent SQL injection attacks.

As a temporary workaround, you can disable or restrict access to the vulnerable endpoint until the vulnerability is patched. This can help mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for org.jeecgframework.boot:jeecg-boot-base.

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