CVE-2025-2742 Details
Description
A vulnerability classified as critical was found in zhijiantianya ruoyi-vue-pro 2.4.1. This vulnerability affects unknown code of the file /admin-api/mp/material/upload-permanent of the component Material Upload Interface. The manipulation of the argument File leads to path traversal. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A critical path traversal vulnerability has been identified in Zhijiantianya Ruoyi-Vue-Pro version 2.4.1. This issue resides in the material upload interface, specifically within the '/admin-api/mp/material/upload-permanent' endpoint. The vulnerability allows for arbitrary file deletion by exploiting directory traversal, where an attacker can manipulate the 'file' argument to delete files accessible by the application.
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 Mar 25, 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/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#5arbitrary-file-deletion-vulnerability---uploadpermanentmaterial | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#5arbitrary-file-deletion-vulnerability---uploadpermanentmaterial | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.300844 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.300844 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.519691 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| iocoder ruoyi-vue-pro | 2.4.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2025 | Reanalysis | [email protected] |
| Jul 8, 2025 | Initial Analysis | [email protected] |
| Mar 25, 2025 | CVE Modified | CISA-ADP |
| Mar 25, 2025 | New CVE Received | [email protected] |