CVE-2025-32957
baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)
描述
### Details The application's restore function allows users to upload a `.zip` file, which is then automatically extracted. A PHP file inside the archive is included using `require_once` without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included. Vector: Malicious ZIP upload + insecure `require_once` ### PoC 1. Restore backup  1. Load file shell (insecure `require_once`)   ### Impact Remote Code Execution (RCE)
如何修補 CVE-2025-32957
要修補 CVE-2025-32957,請將受影響套件升級到下列已修補版本。
- —升級至 5.2.3 或更新版本
CVE-2025-32957 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 5.2.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |