Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-w8rc-pgxq-x2cj

Опубликовано: 22 апр. 2020
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

Negative charge in shopping cart in Shopizer

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

Пакеты

Наименование

com.shopizer:sm-core-model

maven
Затронутые версииВерсия исправления

< 2.11.0

2.11.0

EPSS

Процентиль: 52%
0.00296
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-20

Связанные уязвимости

CVSS3: 6.5
nvd
почти 6 лет назад

In Shopizer before version 2.11.0, using API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total. This vulnerability makes it possible to create a negative total in the shopping cart. This has been patched in version 2.11.0.

EPSS

Процентиль: 52%
0.00296
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-20