CVE-2025-34040 Seeyon Zhiyuan OA System Path Traversal File Upload

Critical 10.0 Published Updated

Unauthenticated attackers can upload malicious JSP files via path traversal in the wpsAssistServlet interface, leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34040?

CVE-2025-34040 is a critical vulnerability in Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System, published on 24 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2025-34040?

How do I fix CVE-2025-34040?

No fix has been published for CVE-2025-34040 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-34040 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34040 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-mxx7-67f4-p53j.

Is CVE-2025-34040 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free