Unauthenticated code execution via path-traversal upload
Published Jun 24, 2025 · Updated May 14, 2026
Arbitrary file upload in Zhiyuan OA affected releases allows remote attackers to execute code through wpsAssistServlet. The servlet accepts multipart uploads and uses insufficiently validated realFileType and fileId values to traverse directories and place a crafted JSP under the web root. No authentication is required; requesting the uploaded JSP runs attacker-controlled server-side code.
Summary
What happened
Arbitrary file upload in Zhiyuan OA affected releases allows remote attackers to execute code through wpsAssistServlet. The servlet accepts multipart uploads and uses insufficiently validated realFileType and fileId values to traverse directories and place a crafted JSP under the web root. No authentication is required; requesting the uploaded JSP runs attacker-controlled server-side code.
The record
- CVE
- CVE-2025-34040
- Published
- Jun 24, 2025
- Updated
- May 14, 2026
- Vendor
- Beijing Seeyon Internet Software Corp.
- Product
- Zhiyuan OA Web Application System
- Classifications
- CWE-434, CWE-22, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 1, 2025Exploitation reportedShadowserver observed exploitation activity
- Jun 24, 2025CVE publishedPublication date reported by the CVE source.
- May 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.0
- Affected versionversion=5.1 <=5.6sp1
- Affected versionversion=6.0 <=6.1sp2
- Affected versionversion=7.0
- Affected versionversion=7.0sp1 <=7.1
- Affected versionversion=7.1sp1
- Affected versionversion=8.0 <=8.0sp2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Zhiyuan OA arbitrary file upload proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo