Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
WeChat Pay callback signature verification bypassed when Host header is localhost
Vulnerability Description
Pay is an open-source payment SDK extension package for various Chinese payment services. Prior to version 3.7.20, the `verify_wechat_sign()` function in `src/Functions.php` unconditionally skips all signature verification when the PSR-7 request reports `localhost` as the host. An attacker can exploit this by sending a crafted HTTP request to the WeChat Pay callback endpoint with a `Host: localhost` header, bypassing the RSA signature check entirely. This allows forging fake WeChat Pay payment success notifications, potentially causing applications to mark orders as paid without actual payment. Version 3.7.20 fixes the issue.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Vulnerability Type
使用欺骗进行的认证绕过
Vulnerability Title
pay 安全漏洞
Vulnerability Description
pay是yansongda个人开发者的一个支持多种支付渠道的PHP支付开发工具。 Pay 3.7.20之前版本存在安全漏洞,该漏洞源于verify_wechat_sign函数在主机为localhost时无条件跳过签名验证,可能导致伪造微信支付成功通知。
CVSS Information
N/A
Vulnerability Type
N/A