Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System
Seeyon Zhiyuan OA System Path Traversal File Upload
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- 5.0
- >= 5.1, <= 5.6sp1
- >= 6.0, <= 6.1sp2
- 7.0
- >= 7.0sp1, <= 7.1
- 7.1sp1
- >= 8.0, <= 8.0sp2
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory service.seeyon.com/patchtools/tp.html
Timeline
Days relative to CVE publicationFirst public PoC 13 days after publication; not in CISA KEV. First PoC: nuclei template: Zhiyuan OA Platform - Arbitrary File Upload (nuclei template, 7 Jul 2025).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jisi-001/CVE-2025-34040Exp | 29 Aug 2025 +66 d | 2 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://www.cnblogs.com/pursue-security/p/17677130.html | unknown | 14 Nov 2026 |
| Exploit-DB | Zhiyuan OA - arbitrary file upload leading | 6 Apr 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Zhiyuan OA Platform - Arbitrary File Upload | 7 Jul 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /seeyon/wpsAssistServlet
- Query
flag=saverealFileType=../../../../ApacheJetspeed/webapps/ROOT/fileId=2- Body markers
name="upload"inmultipart/form-data- Seen in
- 1 repo: jisi-001/CVE-2025-34040Exp
- Evidence
- jisi-001/CVE-2025-34040Exp/CVE-2025-34040Exp.py:83
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/seeyon/wpsAssistServlet\?(?:.*&)?flag=save.*realFileType=\.\./\.\./\.\./\.\./ApacheJetspeed/webapps/ROOT/.*fileId=2
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-34040 Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/seeyon/wpsAssistServlet"; http.uri; content:"flag=save"; http.uri; content:"realFileType=../../../../ApacheJetspeed/webapps/ROOT/"; http.uri; content:"fileId=2"; http.request_body; content:"name=|22|upload|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-34040; classtype:web-application-attack; sid:9001328; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System exploit attempt (CVE-2025-34040)
id: gg-pocmon-cve-2025-34040-9001328
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34040. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34040
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/seeyon/wpsAssistServlet'
cs-uri-query|contains|all:
- 'flag=save'
- 'realFileType=../../../../ApacheJetspeed/webapps/ROOT/'
- 'fileId=2'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34040