Authenticated arbitrary file read via PHAR wrapper
Published May 23, 2025 · Updated May 23, 2025
Path traversal in ZenTao 21.5_20250307 Editor allows remote authenticated users to read arbitrary files through a crafted filePath value. The edit method base64-decodes filePath, applies a base-path prefix check that PHAR wrapper paths bypass, and passes the result to file_get_contents. Committer access reaches the endpoint, exposing server files and application secrets without requiring code execution.
Summary
What happened
Path traversal in ZenTao 21.5_20250307 Editor allows remote authenticated users to read arbitrary files through a crafted filePath value. The edit method base64-decodes filePath, applies a base-path prefix check that PHAR wrapper paths bypass, and passes the result to file_get_contents. Committer access reaches the endpoint, exposing server files and application secrets without requiring code execution.
The record
- CVE
- CVE-2025-5114
- Published
- May 23, 2025
- Updated
- May 23, 2025
- Vendor
- Qingdao Esoft Tianchuang Network Technology Co., Ltd.
- Product
- ZenTao
- Classifications
- CWE-502, CWE-20, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 23, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 2025Record 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=21.5_20250307
What conditions does exploitation require?
What is affected?
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
- Phar Bypass Vulnerability in ZenTao Editor Componentproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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