zhijiantianya ruoyi-vue-pro 2.4.1 Backend File Upload Interface upload path path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.33 |
Summary
A vulnerability identified as critical has been detected in zhijiantianya ruoyi-vue-pro 2.4.1. Affected by this vulnerability is an unknown functionality of the file /admin-api/infra/file/upload of the component Backend File Upload Interface. Performing a manipulation of the argument path results in path traversal. This vulnerability is cataloged as CVE-2025-2708. It is possible to initiate the attack remotely. Furthermore, there is an exploit available. It is suggested to install a patch to address this issue.
Details
A vulnerability, which was classified as critical, was found in zhijiantianya ruoyi-vue-pro 2.4.1. This affects some unknown functionality of the file /admin-api/infra/file/upload of the component Backend File Upload Interface. The manipulation of the argument path with an unknown input leads to a path traversal vulnerability. CWE is classifying the issue as CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. This is going to have an impact on integrity, and availability.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-2708. The exploitability is told to be easy. It is possible to initiate the attack remotely. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1006 for this issue.
The exploit is shared for download at github.com. It is declared as proof-of-concept.
Applying the patch 4ae3f6b2c9883978837638c14e3d18419819eeb0 is able to eliminate this problem. The bugfix is ready for download at gitee.com. The advisory contains the following remark:
Published source fix for the upload path-traversal class of issues: https://gitee.com/zhijiantianya/ruoyi-vue-pro/commit/4ae3f6b2c9883978837638c14e3d18419819eeb0 . The shared file service validates filenames, directories and storage paths before use, and the local storage client checks that resolved paths remain under its configured base directory. The App and admin upload paths use the shared service. Maintainer confirmation and scope: https://github.com/YunaiV/ruoyi-vue-pro/issues/1146#issuecomment-4583281212 . This notice is limited to path traversal in the current source; it does not claim that uploading arbitrary content is safe, that SVG/HTML rendering is covered by this patch, or that all historical deployments/branches are fixed. No first fixed tagged release is asserted.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.5
VulDB Base Score: 5.4
VulDB Temp Score: 4.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔍
CNA Base Score: 5.4
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 4ae3f6b2c9883978837638c14e3d18419819eeb0
Timeline
03/24/2025 🔍03/24/2025 🔍
10/26/2026 🔍
Sources
Product: gitee.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2025-2708 (🔍)
GCVE (CVE): GCVE-0-2025-2708
GCVE (VulDB): GCVE-100-300729
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/24/2025 12:28Updated: 10/26/2026 19:54
Changes: 03/24/2025 12:28 (56), 03/24/2025 15:49 (1), 03/25/2025 07:40 (30), 07/09/2025 09:18 (12), 10/26/2026 17:08 (2), 10/26/2026 17:09 (2), 10/26/2026 17:12 (5), 10/26/2026 17:14 (2), 10/26/2026 19:54 (2)
Complete: 🔍
Submitter: uglory
Committer: yunai
Cache ID: 216::103
Submit
Accepted
- Submit #517030: zhijiantianya ruoyi-vue-pro 2.4.1 File Path Traversal Backend (by uglory)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.