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.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2025-34045 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2025-34045 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2025-34045 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.
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 |