همهٔ گزارش‌ها
بحرانی

Negative charge in shopping cart in Shopizer

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 2.11.0
نسخهٔ اصلاح‌شده
2.11.0

بهره‌برداری

CVE-2020-11007

احتمال بهره‌برداری در ۳۰ روز آینده: 0.85%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

Impact

Using API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total.

Patches

Adding a back-end verification to check that quantity parameter isn't negative. If so, it is set to 1. Patched in 2.11.0

Workarounds

Without uprading, it's possible to just apply the fixes in the same files it's done for the patch. Or you use javax constraint validation on the quantity parameter.

References

Input Validation Using bean validation constraint Commits with fixes CVE Details below : Mitre NVD

Credits

Found and solved by Yannick Gosset from Aix-Marseille University cybersecurity master program supervised by Yassine Ilmi

پیوندها