{"id":"CVE-2025-34040","state":"PUBLISHED","title":"Seeyon Zhiyuan OA System Path Traversal File Upload","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.","publishedAt":"2025-06-24T01:12:22.769Z","updatedAt":"2026-05-14T02:07:28.184Z","severity":{"score":10,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.) Zhiyuan OA Web Application System"],"affected":[{"vendor":"Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.)","product":"Zhiyuan OA Web Application System","defaultStatus":"unaffected","versions":[{"version":"5.0","status":"affected","versionType":"custom"},{"version":"5.1","status":"affected","lessThanOrEqual":"5.6sp1","versionType":"custom"},{"version":"6.0","status":"affected","lessThanOrEqual":"6.1sp2","versionType":"custom"},{"version":"7.0","status":"affected","versionType":"custom"},{"version":"7.0sp1","status":"affected","lessThanOrEqual":"7.1","versionType":"custom"},{"version":"7.1sp1","status":"affected","versionType":"custom"},{"version":"8.0","status":"affected","lessThanOrEqual":"8.0sp2","versionType":"custom"}],"modules":["wpsAssistServlet File Upload Handler"]}],"references":["https://service.seeyon.com/patchtools/tp.html#/patchList?type=%E5%AE%89%E5%85%A8%E8%A1%A5%E4%B8%81&id=1","https://www.cnblogs.com/pursue-security/p/17677130.html","https://www.cnvd.org.cn/flaw/show/CNVD-2021-01627","https://vulncheck.com/advisories/zhiyuan-oa-system-path-traversal-file-upload","https://www.exploit-db.com/exploits/52490"],"weaknesses":["CWE-434","CWE-22"],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/34xxx/CVE-2025-34040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-34040","state":"PUBLISHED","datePublished":"2025-06-24T01:12:22.769Z","dateUpdated":"2026-05-14T02:07:28.184Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-04-15T19:15:22.546Z"},"containers":{"cna":{"title":"Seeyon Zhiyuan OA System Path Traversal File Upload","descriptions":[{"lang":"en","value":"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":[{"vendor":"Seeyon (Beijing Zhiyuan Internet Software Co., Ltd.)","product":"Zhiyuan OA Web Application System","defaultStatus":"unaffected","versions":[{"version":"5.0","status":"affected","versionType":"custom"},{"version":"5.1","status":"affected","lessThanOrEqual":"5.6sp1","versionType":"custom"},{"version":"6.0","status":"affected","lessThanOrEqual":"6.1sp2","versionType":"custom"},{"version":"7.0","status":"affected","versionType":"custom"},{"version":"7.0sp1","status":"affected","lessThanOrEqual":"7.1","versionType":"custom"},{"version":"7.1sp1","status":"affected","versionType":"custom"},{"version":"8.0","status":"affected","lessThanOrEqual":"8.0sp2","versionType":"custom"}],"modules":["wpsAssistServlet File Upload Handler"]}],"references":[{"url":"https://service.seeyon.com/patchtools/tp.html#/patchList?type=%E5%AE%89%E5%85%A8%E8%A1%A5%E4%B8%81&id=1","tags":["vendor-advisory","patch"]},{"url":"https://www.cnblogs.com/pursue-security/p/17677130.html","tags":["exploit","technical-description"]},{"url":"https://www.cnvd.org.cn/flaw/show/CNVD-2021-01627","tags":["third-party-advisory"]},{"url":"https://vulncheck.com/advisories/zhiyuan-oa-system-path-traversal-file-upload","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":10,"baseSeverity":"CRITICAL","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-05-14T02:07:28.184Z"},"credits":[{"lang":"en","type":"finder","value":"Pursue Security"}],"impacts":[{"capecId":"CAPEC-137","descriptions":[{"lang":"en","value":"CAPEC-137 Parameter Injection"}]}],"source":{"discovery":"UNKNOWN"},"tags":["x_known-exploited-vulnerability"],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-24T15:43:13.056445Z","id":"CVE-2025-34040","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-24T15:44:18.809Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.exploit-db.com/exploits/52490"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-04-29T19:52:35.059Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}