CVE-2025-34045
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-26

Last updated on: 2025-11-20

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-26
Last Modified
2025-11-20
Generated
2026-05-07
AI Q&A
2025-06-26
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
weiphp weiphp 5.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-34045 is a path traversal vulnerability in WeiPHP 5.0 that allows unauthenticated remote attackers to read arbitrary files on the server. This happens because the picUrl parameter in the /public/index.php/material/Material/_download_imgage endpoint does not properly validate input, enabling attackers to craft requests that traverse directories and access sensitive files such as configuration files and source code. [1]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized disclosure of sensitive information stored on the server, including configuration files and source code. Such exposure can compromise the security of the affected system, potentially allowing further attacks or data breaches. Since it is remotely exploitable without authentication and has a high impact on confidentiality, it poses a significant security risk. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection can be performed by monitoring for suspicious POST requests to the /public/index.php/material/Material/_download_imgage endpoint containing path traversal patterns in the picUrl parameter, such as '../' sequences. Network intrusion detection systems (NIDS) or web application firewalls (WAF) can be configured to alert on such patterns. For manual testing, you can use curl commands to send crafted POST requests to the vulnerable endpoint and observe responses. Example command: curl -X POST -d "picUrl=../../../../etc/passwd" http://<target>/public/index.php/material/Material/_download_imgage [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting access to the vulnerable endpoint, applying input validation and sanitization on the picUrl parameter to prevent directory traversal sequences, and updating WeiPHP to a patched version if available. Additionally, deploying web application firewalls (WAFs) to block malicious requests exploiting path traversal can help reduce risk until a full patch is applied. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart