Katalog CVE

CVE-2026-91154

ŚrednieCVSS 6.9
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.39%

Percentyl 31 - wyżej niż 31% wszystkich znanych CVE

Streszczenie

Wykryto brak uwierzytelnienia dla krytycznej funkcji (CWE-306) w produkcie cache revalidation Server Action w MarcosCamara01 Ecommerce Template przed commit ec97209. Zdalny, nieuwierzytelniony atakujący może wymusić wygaśnięcie całego cache produktów sklepu, co prowadzi do degradacji wydajności.

Ocena ryzyka

Atakujący może trwale uniemożliwić korzystanie z cache, zmuszając każdego odwiedzającego do odczytu pełnego katalogu produktów z bazy danych, co może prowadzić do niedostępności sklepu przy niskim koszcie ataku.

Rekomendacja

Zaleca się natychmiastowe zaktualizowanie szablonu do wersji po commicie ec97209 oraz wdrożenie uwierzytelnienia dla wszystkich Server Actions, zwłaszcza tych modyfikujących cache.

Inne podatności w MarcosCamara01 Ecommerce Template

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

Missing Authentication for Critical Function (CWE-306) in the product cache revalidation Server Action (src/app/actions.ts, revalidateProducts) in MarcosCamara01 Ecommerce Template before commit ec97209 allows a remote, unauthenticated attacker to force expiration of the entire storefront product cache at will. The file declares "use server" at file scope, so every exported function compiles into a POST-invokable Server Action; revalidateProducts calls updateTag("products") with no session or role check, unlike the read-only actions in the same file which are safe by construction. Two client components under src/components/admin import the function, which causes its Server Action id to be compiled into a public /_next/static chunk that the application's admin middleware (proxy.ts) does not gate, so any unauthenticated user can extract that id from the public bundle and invoke the action directly. With cacheComponents enabled, the entire storefront (home, categories, product pages, search) is served from "use cache" entries produced by getAllProducts, getCategoryProducts and getProduct, all tagged products with an hours-long cacheLife. Repeated unauthenticated invocation of revalidateProducts keeps that cache permanently cold, forcing every visitor's request to read the full product catalog from Postgres instead of serving from cache, degrading storefront availability at near-zero attacker cost.

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