Skip to content
gist.github.com https://gist.github.com/agtt/f7c6b30e265b33b06c2226f641874e84 Code

gist.github.com https://gist.github.com/agtt/f7c6b30e265b33b06c2226f641874e84 Code

gist.github.com • November 23, 2026

Researcher: Agit Isik (IOVA LTD) — agit@iova.co.uk Disclosure date: 2026-10-24 Affected: osCommerce V4, version 4.14.63493 Class: CWE-287 Improper Authentication / CWE-345 Insufficient Verification of Data Authenticity (unauthenticated)

The MultiSafepay payment "success" callback authenticates a guest visitor by checking md5(multisafepay_order_id . customer_id) == hash , where multisafepay_order_id , customer_id and hash are all attacker-supplied GET parameters and no server-side secret participates in the hash . An unauthenticated attacker can therefore compute a valid hash for any customer_id and is then logged in as that customer through Yii::$app->user->login() . The check also uses a loose == comparison (PHP type juggling).

lib/frontend/controllers/CallbackController.php — actionMultisafe() , case 'success'

lib/frontend/controllers/MultisafeController.php — actionSuccess()

legacy ext/modules/payment/multisafepay/success.php

In each, the guest branch is: if (md5($_GET['multisafepay_order_id'] . $_GET['customer_id']) == $_GET['hash']) { $customer->loadCustomer($_GET['customer_id']); Yii::$app->user->login($customer); }

Full takeover of any customer account addressable by numeric ID: order history, saved addresses and PII, stored order/payment context, and the ability to act as that customer.

Authenticate payment callbacks using a server-held secret or the provider's signed server-to-server notification, never an md5() of client-supplied values; use strict comparison; and never establish a login session from attacker-controlled identifiers.

Coordinated/responsible disclosure. The vendor publishes no SECURITY.md or dedicated security ; reported via VulDB (authorized CNA). No weaponized proof-of-concept is included in this advisory.