JeeSite
CVE-2025-7864
LOW
Severity by source
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
Lifecycle Timeline
1DescriptionCVE.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.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today