提出 #1081126: realnaspter opencart-theteller-payment-gateway 729fee45c89d (HEAD) Insufficient Verification of Data Authenticity情報

タイトルrealnaspter opencart-theteller-payment-gateway 729fee45c89d (HEAD) Insufficient Verification of Data Authenticity
説明The realnaspter opencart-theteller-payment-gateway extension for OpenCart marks orders as paid based on unauthenticated, unverified GET callback parameters. In catalog/controller/extension/payment/theteller.php the callback() handler parses $code and $status directly from $_SERVER['REQUEST_URI'] query string and, if code=="code=000" && status=="status=approved", calls addOrderHistory(order_id, 5, 'Payment Received') with no server-side verification and no signature. An attacker who places an order (e.g. cash-on-delivery) and then issues a forged GET to the callback URL with status=approved and code=000 (with the extension route appended LAST so the forged params land at the parsed positions) moves the order to status 5 'Complete / Payment Received' with zero payment captured. Proof of concept (live-proven on OpenCart + the extension): checkout via COD -> order_status_id 0; forged GET /index.php?status=approved&code=000&reason=success&transaction_id=forged&route=extension/payment/theteller/callback -> order_status_id 0->5 'Complete, Payment Received'. Negative control (route placed first / mis-ordered params) -> order status 10 'Failed'; the outcome is entirely determined by attacker-controlled URL text. Impact: fraudulent paid orders with no payment captured and no verification. Affected component: catalog/controller/extension/payment/theteller.php callback(). Public issue report (as requested): https://github.com/realnaspter/opencart-theteller-payment-gateway/issues/1 Suggested fix: verify the transaction server-side against theTeller's API and validate a signature; never trust callback query parameters. Classification: CWE-345 Insufficient Verification of Data Authenticity. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (8.7 HIGH). Researcher: makrano2200 (finder).
ソース⚠️ https://github.com/realnaspter/opencart-theteller-payment-gateway/issues/1
ユーザー
 mohamadAkra (UID 102394)
送信2026年11月08日 08:02 (22 日 ago)
モデレーション2026年11月29日 20:48 (22 days later)
ステータス承諾済み
VulDBエントリ445250 [realnaspter opencart-theteller-payment-gateway 迄 729fee45c89d70a0c7a54fa080239acc2d4364b8 theteller.php callback status/code 弱い認証]
ポイント20