CVE-2023-41578: Jeecg boot arbitrary file read vulnerability

Summary

08/09/2023
No i
High
7.5

CVE-2023-41578: Jeecg boot arbitrary file read vulnerability. Affects org.jeecgframework.boot:jeecg-boot-parent versions < 3.5.3. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Jeecg boot is a Maven package that provides a framework for developing enterprise-level Java applications. It offers various features and functionalities to streamline the development process. However, versions up to 3.5.3 of Jeecg boot contain a vulnerability that allows arbitrary file read through the /testConnection interface.

Vulnerability Detail

The arbitrary file read vulnerability in Jeecg boot up to v3.5.3 enables an attacker to access sensitive files on the system by exploiting the /testConnection interface. This can lead to unauthorized disclosure of confidential information, such as database credentials or other sensitive data stored in files. The vulnerability poses a moderate risk and should be addressed promptly to prevent potential data breaches.

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 advised to disable or restrict access to the /testConnection interface in the application's configuration. By preventing access to this interface, the risk of exploitation can be mitigated. Here is an example of how to disable the /testConnection interface in a Spring Boot application:

@Configuration
public class SecurityConfig extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http
            .authorizeRequests()
                .antMatchers("/testConnection").denyAll()
                .anyRequest().permitAll();
    }

}

Conclusion

In conclusion, Jeecg boot up to v3.5.3 is vulnerable to an arbitrary file read vulnerability through the /testConnection interface. It is crucial to upgrade to a patched version of Jeecg boot and apply the necessary security measures to mitigate the risk of unauthorized file access. For further support on vulnerability remediation, you can reach out to DevNack.com.

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

Share this vulnerability

FAQ

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

The vulnerability allows an attacker to read arbitrary files on the system, potentially leading to unauthorized disclosure of sensitive information.

To fix the vulnerability, it is recommended to upgrade Jeecg boot to a version beyond 3.5.3. Additionally, you can apply the temporary workaround mentioned in the report.

Yes, a temporary workaround is to disable or restrict access to the /testConnection interface in the application's configuration.

For more information about this vulnerability, you can refer to the provided source link in the report.

Related vulnerabilities

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

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