Jeecgboot Path Traversal Vulnerability Allowing Arbitrary File Uploads to System Directory

Vulnerability

A path traversal vulnerability has been identified in Jeecgboot versions through 3.8.2. This vulnerability allows attackers to upload files with system-whitelisted extensions to the system directory /opt, rather than the intended /opt/upFiles directory. The issue arises because the 'bizPath' parameter only filters certain forms of directory traversal, leaving a gap that can be exploited.

Impact

Exploitation of this vulnerability allows for arbitrary file uploads to the /opt directory, where they could replace legitimate application files with malicious ones. This could lead to executing harmful scripts or replacing software executables with compromised versions, potentially causing significant damage.

Reproduction

To reproduce this vulnerability, send a file upload request to the '/jeecg-boot/sys/common/upload' endpoint. Set the 'biz' parameter to include '..' to traverse directories. The uploaded file will be placed in the /opt directory instead of the /opt/upFiles directory as intended.

Added: Oct 1, 2025, 8:20 PM
Updated: Oct 1, 2025, 9:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
2.5
exploitability
9.5
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.