PT-2025-26994 · Weiphp · Weiphp

Published

2025-06-26

·

Updated

2025-11-17

·

CVE-2025-34045

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: WeiPHP version 5.0
Description: A path traversal issue exists in the /public/index.php/material/Material/ download imgage endpoint, specifically in the picUrl parameter, 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.
Recommendations: For WeiPHP version 5.0, as a temporary workaround, consider restricting access to the /public/index.php/material/Material/ download imgage endpoint until a patch is available. Additionally, avoid using the picUrl parameter in this endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Information Disclosure

RCE

Weakness Enumeration

Related Identifiers

CVE-2025-34045

Affected Products

Weiphp