CVE-2025-34045
Published: 26 June 2025
Summary
CVE-2025-34045 is a high-severity Path Traversal (CWE-22) vulnerability in Weiphp Weiphp. Its CVSS base score is 8.7 (High).
Operationally, ranked in the top 3.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
A path traversal vulnerability exists in WeiPHP 5.0, an open source WeChat public account platform development framework developed by Shenzhen Yuanmengyun Technology Co., Ltd. The flaw resides in the picUrl parameter of the /public/index.php/material/Material/_download_imgage endpoint, where insufficient input validation allows directory traversal via crafted POST requests and results in arbitrary file read access on the server.
Unauthenticated remote attackers can exploit the issue over the network to retrieve sensitive files such as configuration data and source code without requiring user interaction or credentials. The vulnerability is tracked as CWE-22 and carries a CVSS 4.0 score of 8.7 reflecting high confidentiality impact.
Exploitation evidence was recorded by the Shadowserver Foundation on 2025-02-05 UTC, and the EPSS score stands at a peak and current value of 0.2809. Public references point to CNVD-2020-68596 along with detection templates and an advisory from VulnCheck that address the same path traversal behavior.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-19209
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.