CVE-2025-2742
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.
CWE
- CWE-22 — Path Traversal
Affected
- zhijiantianya / ruoyi-vue-pro — v=2.4.1 [affected]
CVSS
- 4.0 score=5.3 severity=MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N - 3.1 score=5.4 severity=MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - 3.0 score=5.4 severity=MEDIUM
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L - 2.0 score=5.5 severity=
AV:N/AC:L/Au:S/C:N/I:P/A:P
References
- https://vuldb.com/?id.300844 vdb-entry, technical-description
- https://vuldb.com/?ctiid.300844 signature, permissions-required
- https://vuldb.com/?submit.519691 third-party-advisory
- https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#5arbitrary-file-deletion-vulnerability---uploadpermanentmaterial exploit
Source
cvelistV5-main/cves/2025/2xxx/CVE-2025-2742.json