8.7High

CVE-2025-34045WeiPHP Path Traversal Arbitrary File Read

Shenzhen Yuanmengyun Technology Co., Ltd. WeiPHP Published: (1 year ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Shenzhen Yuanmengyun Technology Co., Ltd. WeiPHP 5.0
weiphp weiphp 5.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:weiphp:weiphp:5.0:*:*:*:*:*:*:*