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.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
5.0 (custom)
5.1 (custom)
6.0 (custom)
7.0 (custom)
7.0sp1 (custom)
7.1sp1 (custom)
8.0 (custom)
Credits
Pursue Security
References
www.exploit-db.com/exploits/52490
service.seeyon.com/patchtools/tp.html
www.cnblogs.com/pursue-security/p/17677130.html
www.cnvd.org.cn/flaw/show/CNVD-2021-01627
vulncheck.com/...hiyuan-oa-system-path-traversal-file-upload