WeiPHP - Path Traversal (CVE-2025-34045)
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.
psychologyCrowdSec Analysis
CVE-2025-34045 is a high-severity path traversal vulnerability in WeiPHP 5.0, allowing unauthenticated remote attackers to read arbitrary files on the server by exploiting insufficient validation of the picUrl parameter in the /public/index.php/material/Material/_download_imgage endpoint. This flaw can be leveraged to access sensitive information such as configuration files and source code, potentially leading to further compromise of the affected system. Evidence of active exploitation has been observed, highlighting the urgency of addressing this vulnerability.
CrowdSec has been tracking this vulnerability and its exploits since 15th of April 2026.
CrowdSec network data shows that most actors exploiting CVE-2025-34045 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. CrowdSec data also reveals a clear uptick in attacks involving CVE-2025-34045 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
Attackers exploit the /public/index.php/material/Material/_download_imgage endpoint by manipulating the picUrl parameter to perform path traversal and read sensitive files such as config/database.php. This technique allows unauthenticated access to arbitrary files on vulnerable WeiPHP 5.0 installations.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-06-26 |
| Rule Released | 2026-04-15 |
| CrowdSec First Seen | 2026-04-20 |