Description
An arbitrary file upload vulnerability exists in the Zhiyuan OA platform via the wpsAssistServlet interface. The realFileType and fileId parameters are improperly validated during multipart file uploads, allowing unauthenticated attackers to upload crafted JSP files outside of intended directories using path traversal. Successful exploitation enables remote code execution as the uploaded file can be accessed and executed through the web server. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-01 UTC.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System
Default version status: unaffected
5.0affected5.1 to ≤ 5.6sp1affected6.0 to ≤ 6.1sp2affected7.0affected7.0sp1 to ≤ 7.1affected7.1sp1affected8.0 to ≤ 8.0sp2affected
References
- https://service.seeyon.com/patchtools/tp.html#/patchList?type=%E5%AE%89%E5%85%A8%E8%A1%A5%E4%B8%81&id=1 ↗
- https://www.cnblogs.com/pursue-security/p/17677130.html ↗
- https://www.cnvd.org.cn/flaw/show/CNVD-2021-01627 ↗
- https://vulncheck.com/advisories/zhiyuan-oa-system-path-traversal-file-upload ↗
- https://www.exploit-db.com/exploits/52490 ↗