Vulnerability 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.
Related Weaknesses (CWE)
References
- https://service.seeyon.com/patchtools/tp.html#/patchList?type=%E5%AE%89%E5%85%A8
- https://vulncheck.com/advisories/zhiyuan-oa-system-path-traversal-file-upload
- https://www.cnblogs.com/pursue-security/p/17677130.html
- https://www.cnvd.org.cn/flaw/show/CNVD-2021-01627
- https://www.exploit-db.com/exploits/52490
FAQ
What is CVE-2025-34040?
CVE-2025-34040 is a documented vulnerability. 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 uploa...
How severe is CVE-2025-34040?
CVSS scoring is not yet available for CVE-2025-34040. Check NVD for updates.
Is there a patch for CVE-2025-34040?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.