CVE-2025-34045
Weiphp vulnerability
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.
Affected products
Weiphp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Weiphp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- vulncheck.com/advisories/weiphp-path-traversal-file-read · Exploit
- www.cnvd.org.cn/flaw/show/CNVD-2020-68596 · Third Party Advisory
- github.com/projectdiscovery/nuclei-templates/blob/main/http/cnvd/2020/CNVD-2020-68596.yaml · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-34045
- cve.org/CVERecord?id=CVE-2025-34045
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.