OwnPayのAlipay決済通知で署名検証が機能せず、未認証の支払い偽装につながる脆弱性
Summary
OwnPayのAlipay決済通知の署名検証に不備があり、署名のない通知を未認証の第三者が送ると、注文が支払い済みとして処理される脆弱性です。影響を受けるのは0.2.0以前で、修正版は公表されていません。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
OwnPayのAlipay決済通知の署名検証に不備があり、署名のない通知を未認証の第三者が送ると、注文が支払い済みとして処理される脆弱性です。影響を受けるのは0.2.0以前で、修正版は公表されていません。最新の情報を確認してください。
Original description The description as published by the source.
OwnPay is a self-hosted open-source payment gateway automation platform. In 0.2.0 and earlier, modules/gateways/alipay/AlipayGateway.php fails open when an Alipay callback lacks a signature or the merchant has no configured public key because verify(array $callbackData, array $credentials) falls back to an undefined mode credential that defaults to test mode, while verifyWebhook() returns true unconditionally. An unauthenticated request to POST /webhook/{gateway} can provide a pending order reference and matching amount, pass both verification gates without a valid payment signature, and cause the order and corresponding payment-received ledger entries to be marked completed. No fixed version is available as of this review.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com