Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-34040

CVE-2025-34040: Zhiyuan OA Platform RCE Vulnerability

CVE-2025-34040 is a remote code execution vulnerability in Zhiyuan OA platform via arbitrary file upload. Attackers can upload malicious JSP files using path traversal to execute code. This article covers technical details, impact, and mitigation.

Published: April 1, 2026

CVE-2025-34040 Overview

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

Critical Impact

This vulnerability allows unauthenticated remote code execution through arbitrary JSP file uploads, potentially leading to complete system compromise of affected Zhiyuan OA deployments.

Affected Products

  • Zhiyuan OA Platform (Seeyon OA)
  • Versions with vulnerable wpsAssistServlet interface
  • Enterprise deployments utilizing the affected file upload functionality

Discovery Timeline

  • 2025-06-24 - CVE CVE-2025-34040 published to NVD
  • 2025-11-20 - Last updated in NVD database

Technical Details for CVE-2025-34040

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal) combined with unrestricted file upload capabilities. The core issue resides in the wpsAssistServlet interface, which handles multipart file upload requests without properly sanitizing user-supplied parameters.

The realFileType parameter accepts arbitrary file extension values, bypassing file type restrictions designed to prevent dangerous file uploads. Simultaneously, the fileId parameter fails to adequately filter path traversal sequences (such as ../), enabling attackers to specify arbitrary destination paths outside the intended upload directory.

When an attacker combines these two flaws, they can upload a malicious JSP webshell to a web-accessible directory. Once uploaded, the attacker can directly access the JSP file through the web server, achieving remote code execution with the privileges of the web application.

Root Cause

The root cause stems from insufficient input validation on two critical parameters within the wpsAssistServlet endpoint:

  1. File Type Validation Bypass: The realFileType parameter is not validated against an allowlist of safe file extensions, permitting JSP and other executable file types to be uploaded.

  2. Path Traversal in fileId: The fileId parameter does not properly sanitize directory traversal sequences, allowing attackers to escape the intended upload directory and write files to arbitrary locations within the filesystem accessible to the web application process.

Attack Vector

The attack is network-based and requires no authentication, making it particularly dangerous for internet-facing Zhiyuan OA deployments. An attacker constructs a specially crafted multipart HTTP POST request to the /seeyon/wpsAssistServlet endpoint containing:

The malicious request includes path traversal sequences in the fileId parameter to navigate to a web-accessible directory, a .jsp file extension in the realFileType parameter, and a JSP webshell payload in the file content. Upon successful upload, the attacker accesses the uploaded JSP file directly through the web server to execute arbitrary commands. For detailed technical analysis, refer to the VulnCheck Path Traversal Advisory and the CNBlogs Security Analysis.

Detection Methods for CVE-2025-34040

Indicators of Compromise

  • HTTP POST requests to /seeyon/wpsAssistServlet containing path traversal sequences such as ../ in request parameters
  • Newly created JSP files in web-accessible directories outside of designated upload folders
  • Unexpected JSP files with random or obfuscated names appearing in the webroot or application directories
  • Web server access logs showing direct requests to unfamiliar JSP files shortly after upload requests

Detection Strategies

  • Monitor HTTP traffic for multipart requests to wpsAssistServlet containing .. sequences in the fileId parameter
  • Implement file integrity monitoring on web-accessible directories to detect unauthorized JSP file creation
  • Deploy web application firewall (WAF) rules to block requests containing path traversal patterns targeting the vulnerable endpoint
  • Analyze web server logs for patterns indicating webshell deployment and subsequent command execution

Monitoring Recommendations

  • Enable detailed logging on the Zhiyuan OA application to capture all file upload activities with full parameter values
  • Configure SIEM alerts for path traversal patterns in HTTP request parameters targeting Seeyon/Zhiyuan endpoints
  • Implement real-time file system monitoring to detect new executable files in web directories
  • Regularly audit uploaded files and compare against known-good baselines

How to Mitigate CVE-2025-34040

Immediate Actions Required

  • Apply the vendor security patch from the Seeyon Security Patch List immediately
  • Restrict network access to the wpsAssistServlet endpoint using firewall rules or web server configurations
  • Conduct a forensic review of uploaded files to identify any existing webshells or malicious content
  • Review web server access logs for evidence of exploitation attempts

Patch Information

The vendor (Seeyon) has released security patches addressing this vulnerability. Organizations should obtain the latest security updates from the official Seeyon Security Patch List. The vulnerability was also documented in CNVD #2021-01627, indicating earlier awareness of similar issues in the platform.

Workarounds

  • Block access to /seeyon/wpsAssistServlet at the web server or WAF level if the functionality is not required
  • Implement strict allowlist validation for file extensions on file upload endpoints at the network perimeter
  • Deploy network segmentation to limit exposure of the Zhiyuan OA platform to trusted networks only
  • Configure web server to prevent execution of JSP files in upload directories as an additional defense layer
bash
# Example: Block access to vulnerable endpoint via Apache configuration
<Location "/seeyon/wpsAssistServlet">
    Require all denied
</Location>

# Example: Nginx configuration to block the endpoint
location /seeyon/wpsAssistServlet {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechZhiyuan Oa

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability3.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Seeyon Security Patch List

  • VulnCheck Path Traversal Advisory

  • CNBlogs Security Analysis

  • CNVD #2021-01627
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English