Intel

AIKIDO-2025-10518

shetabit/multipay is vulnerable to Replay Attacks

Replay Attacks Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 31, 2025

85

High Risk

This Affects:

PHPshetabit/multipay
1.0.0 - 2.3.0
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions are vulnerable to replay attacks and double spending due to missing transaction ID verification in the Saman payment driver's verify() method. Without this check, an attacker could potentially reuse a successful payment response or process the same payment multiple times, resulting in financial losses. The issue is resolved by comparing the stored transaction ID with the ResNum value returned by the payment gateway and automatically reversing the transaction if they do not match, thereby ensuring that each payment response corresponds to a valid and unique transaction.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

shetabit/multipay is vulnerable to Replay Attacks in versions 1.0.0 - 2.3.0.

How to fix this

Upgrade the shetabit/multipay library to the patch version.