PoC Monitor
← All CVEs
CVE-2025-34040published 24 Jun 2025 01:12 UTCData: JSON · API

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.

First public PoC 13 daysafter publication · 7 Jul 2025 · nuclei template
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-434
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System
  • 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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12+14CVE published24 Jun 2025 · t = 0First public PoC7 Jul 2025 · t+13d

First 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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
CVE record (tagged exploit)https://www.cnblogs.com/pursue-security/p/17677130.htmlunknown14 Nov 2026
Exploit-DBZhiyuan OA - arbitrary file upload leading6 Apr 202614 Nov 2026
nuclei templatenuclei template: Zhiyuan OA Platform - Arbitrary File Upload7 Jul 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /seeyon/wpsAssistServlet

Query
flag=save realFileType=../../../../ApacheJetspeed/webapps/ROOT/ fileId=2
Body markers
name="upload" in multipart/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.

POST /seeyon/wpsAssistServlet
(?i)^/seeyon/wpsAssistServlet\?(?:.*&)?flag=save.*realFileType=\.\./\.\./\.\./\.\./ApacheJetspeed/webapps/ROOT/.*fileId=2

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /seeyon/wpsAssistServlet
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.

POST /seeyon/wpsAssistServlet
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