CVE-2025-34045
WeiPHP Path Traversal Arbitrary File Read
Record summary
CVE-2025-34045 has a selected CVSS score of 8.7 (high); EIP currently links 1 Nuclei template.
Description
A path traversal vulnerability exists in WeiPHP 5.0, an open source WeChat public account platform development framework by Shenzhen Yuanmengyun Technology Co., Ltd. The flaw occurs in the picUrl parameter of the /public/index.php/material/Material/_download_imgage endpoint, where insufficient input validation allows unauthenticated remote attackers to perform directory traversal via crafted POST requests. This enables arbitrary file read on the server, potentially exposing sensitive information such as configuration files and source code. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Jun 26, 2025 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jun 27, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Default status: unaffected | VulnCheck, CVE List | 5.0 | affected |
Nuclei templates
1ProjectDiscoveryHIGHWeiPHP 5.0 - Path TraversalCVSS 8.6
WeiPHP 5.0 contains a path traversal caused by insufficient input validation of the picUrl parameter in /public/index.php/material/Material/_download_imgage, letting unauthenticated remote attackers read arbitrary files.
Impact
Unauthenticated attackers can read arbitrary files including database configuration files through path traversal in the picUrl parameter, potentially exposing sensitive credentials.
Remediation
Upgrade to WeiPHP version 5.1 or later that properly validates file paths in the Material API.
Source: ProjectDiscovery