PT-2024-35754 · Unknown · Simplcommerce
Abdullah Almutawa
·
Published
2024-12-20
·
Updated
2025-01-05
·
CVE-2024-53476
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
SimplCommerce version 230310c8d7a0408569b292c5a805c459d47a1d8f
Description
A race condition issue in the checkout logic allows attackers to bypass inventory restrictions by simultaneously submitting purchase requests from multiple accounts for the same product. This can lead to overselling when stock is limited, as the system fails to accurately track inventory under high concurrency, resulting in potential loss and unfulfilled orders.
Recommendations
For version 230310c8d7a0408569b292c5a805c459d47a1d8f, as a temporary workaround, consider implementing concurrency control measures in the checkout logic to prevent simultaneous purchase requests for the same product. Restrict access to the checkout endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Simplcommerce