{"id":"CVE-2025-34045","published":"2025-06-26T15:51:37Z","modified":"2025-11-29T15:25:58Z","title":"WeiPHP Path Traversal Arbitrary File Read","vendor":"Shenzhen Yuanmengyun Technology Co., Ltd.","product":"WeiPHP","tier":"core","eol":null,"affectedVersions":[{"vendor":"Shenzhen Yuanmengyun Technology Co., Ltd.","product":"WeiPHP","versions":["5.0"]}],"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-27T13:33:15.340842Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:22Z"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03887,"percentile":0.90501,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-06-26","exploitedFirstSeen":"2025-06-26","ransomware":false,"evidence":[{"url":"https://vulncheck.com/advisories/weiphp-path-traversal-file-read","date":"2025-06-26"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-34045","date":"2025-06-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-01-18&host_type=src&vulnerability=cve-2025-34045","date":"2026-01-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-04&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-06&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-08&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-12&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-12"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-13&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-14&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-02-16&host_type=src&vulnerability=cve-2025-34045","date":"2026-02-16"}],"evidenceTotal":128,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.cnvd.org.cn/flaw/show/CNVD-2020-68596","tags":["third-party-advisory"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cnvd/2020/CNVD-2020-68596.yaml","tags":["exploit"]},{"url":"https://vulncheck.com/advisories/weiphp-path-traversal-file-read","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-19209","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-19209","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2025-34045","name":"WeiPHP 5.0 - Path Traversal","severity":"high","path":"http/cves/2025/CVE-2025-34045.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34045.yaml"}],"provenance":"source"},"exploitRefs":["https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cnvd/2020/CNVD-2020-68596.yaml"],"flow":[],"timeline":[{"date":"2025-06-26","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-34045","provenance":"source"},{"date":"2025-06-26","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://vulncheck.com/advisories/weiphp-path-traversal-file-read","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":64.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 515 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.1,"detail":"percentile 0.9050"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 reference tagged Exploit; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.09,"detail":"base score 8.7"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}