WeiPHP Path Traversal Arbitrary File Read
No fixed version listed yet.Check the vendor advisory. References ↓
Shenzhen Yuanmengyun Technology Co., Ltd. · WeiPHP
A path traversal flaw in the picUrl parameter of the /public/index.php/material/Material/_download_imgage endpoint in WeiPHP 5.0, a WeChat public account development framework from Shenzhen Yuanmengyun Technology Co., Ltd., stems from insufficient input validation. An unauthenticated remote attacker can exploit it with crafted POST requests, requiring no user interaction, to read arbitrary files on the server, potentially including configuration files and source code.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited the day it was disclosed.
Affected versions and fixes
as published in the CVE recordShenzhen Yuanmengyun Technology Co., Ltd. WeiPHP
Affected: 5.0
Attack pattern (CAPEC)
CAPEC-126 Path Traversal