CVE-2025-4258 Details
Description
A vulnerability, which was classified as critical, was found in zhangyanbo2007 youkefu up to 4.2.0. Affected is the function Upload of the file \youkefu-master\src\main\java\com\ukefu\webim\web\handler\resource\MediaController.java. The manipulation of the argument imgFile leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
A critical vulnerability allowing unrestricted file uploads has been identified in Youkefu versions through 4.2.0. The issue resides in the MediaController's Upload function, where the imgFile parameter, received as a javax.servlet.http.HttpServletRequest, lacks proper restrictions or filtering. This vulnerability can be exploited remotely, and the uploaded files are saved directly to the server without any sanitization.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Fc04dB/VUL/blob/main/ukefu_upload.md | [email protected] | Broken Link |
| https://vuldb.com/?ctiid.307362 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.307362 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.562848 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zhangyanbo2007 youkefu | >= 4.0, <= 4.2.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| May 5, 2025 | New CVE Received | [email protected] |