Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-06-24 | Updated 2026-05-14 | Assigner VulnCheck




CRITICAL: 10.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

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

Default status
unaffected

5.0 (custom)
affected

5.1 (custom)
affected

6.0 (custom)
affected

7.0 (custom)
affected

7.0sp1 (custom)
affected

7.1sp1 (custom)
affected

8.0 (custom)
affected

Credits

Pursue Security finder

References

www.exploit-db.com/exploits/52490

service.seeyon.com/patchtools/tp.html vendor-advisory patch

www.cnblogs.com/pursue-security/p/17677130.html exploit technical-description

www.cnvd.org.cn/flaw/show/CNVD-2021-01627 third-party-advisory

vulncheck.com/...hiyuan-oa-system-path-traversal-file-upload third-party-advisory

cve.org (CVE-2025-34040)

nvd.nist.gov (CVE-2025-34040)

Download JSON