Katalog CVE

CVE-2026-29172

Wysokie
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Craft Commerce to platforma e-commerce dla Craft CMS. W wersjach przed 4.10.2 i 5.5.3 występuje podatność na atak SQL Injection w punkcie końcowym tabeli purchasables, gdzie parametr sort jest przekazywany bez walidacji do funkcji orderBy().

Ocena ryzyka

Podatność ta pozwala uwierzytelnionemu atakującemu na wstrzyknięcie dowolnego SQL do klauzuli ORDER BY, co może prowadzić do nieautoryzowanego dostępu do danych lub ich manipulacji.

Rekomendacja

Zaleca się aktualizację Craft Commerce do wersji 4.10.2 lub 5.5.3, aby usunąć tę podatność.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

Craft Commerce is an ecommerce platform for Craft CMS. Prior to 4.10.2 and 5.5.3, Craft Commerce is vulnerable to SQL Injection in the purchasables table endpoint. The sort parameter is split by | and the first part (column name) is passed directly as an array key to orderBy() without whitelist validation. Yii2's query builder does NOT escape array keys, allowing an authenticated attacker to inject arbitrary SQL into the ORDER BY clause. This vulnerability is fixed in 4.10.2 and 5.5.3.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS