Skip to main content

JeeSite CVE-2025-7864

LOW
Improper Access Control (CWE-284)
2025-07-20 cna@vuldb.com
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

1
Analysis Generated
Apr 29, 2026 - 01:22 vuln.today

DescriptionCVE.org

A vulnerability was found in thinkgem JeeSite up to 5.12.0. It has been classified as critical. This affects the function Upload of the file src/main/java/com/jeesite/modules/file/web/FileUploadController.java. The manipulation leads to unrestricted upload. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of the patch is 3585737d21fe490ff6948d913fcbd8d99c41fc08. It is recommended to apply a patch to fix this issue.

AnalysisAI

Unrestricted file upload in JeeSite up to version 5.12.0 allows authenticated remote attackers to upload arbitrary files via the FileUploadController, potentially leading to remote code execution or data exfiltration. The vulnerability has a publicly disclosed proof-of-concept and is classified as critical despite a low CVSS 4.0 score of 2.1, indicating that the CVSS vector (requiring authenticated access and limited scope of impact) does not fully reflect the practical severity of unrestricted file upload capabilities in a web application context.

Technical ContextAI

The vulnerability exists in the file upload handling mechanism of JeeSite, specifically in the Upload function of FileUploadController.java (src/main/java/com/jeesite/modules/file/web/FileUploadController.java). JeeSite is a Java-based web application framework. The root cause relates to CWE-284 (Improper Access Control), indicating insufficient validation or authorization checks on uploaded file content, type, location, or naming. The upload functionality fails to properly restrict which file types or destinations are allowed, enabling attackers to bypass intended security controls and place malicious files (such as executable code, JSP shells, or web scripts) in locations where they can be executed or accessed by the application server.

RemediationAI

Apply the vendor-released patch from commit 3585737d21fe490ff6948d913fcbd8d99c41fc08 (https://github.com/thinkgem/jeesite5/commit/3585737d21fe490ff6948d913fcbd8d99c41fc08) to address the unrestricted upload vulnerability. If a formal release version incorporating this patch is available, upgrade to that version; otherwise, cherry-pick the commit or rebuild from the patched source. As a compensating control prior to patching, restrict file upload functionality by disabling or removing access to the FileUploadController endpoint if not actively required by business operations, or implement strict network access controls limiting the upload endpoint to trusted internal networks and removing external/public access. Additionally, configure the web server and application to prevent execution of uploaded files in the upload directory by setting appropriate file permissions (remove execute bits) and web server directives (e.g., disable script execution in upload directories via .htaccess, nginx location blocks, or Tomcat security manager policies). Validate that uploaded files are stored outside the web root or in a dedicated non-executable directory. These controls reduce the immediate impact from file upload to remote code execution but do not eliminate the underlying vulnerability; patching remains the primary remediation.

Share

CVE-2025-7864 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy