CVE-2026-72843
Beschrijving NL
De klantupdate route in EverShop wordt gedeclareerd met "access": "public" in packages/evershop/src/modules/customer/api/updateCustomer/route.json, waardoor de admin authenticatie middleware next() aanroept zonder de beller te controleren, en geen enkele customer-session middleware de route bewaakt; de enige middleware in de keten ontleedt de JSON body. De handler in updateCustomer.js laadt vervolgens de klant via de uuid uit het URL-pad en schrijft de geleverde velden terug naar dat record, waarbij een wachtwoord wordt gehasht als er een wordt verstrekt, zonder te verifiëren dat de beller eigenaar is van het record. Een niet-geverifieerd verzoek met een bekende klant uuid kan daarom het e-mailadres en wachtwoord van die klant overschrijven en het bijgewerkte record van het 200-antwoord teruglezen, het account overnemen en de eigenaar buitensluiten. Klant uuids worden weergegeven via e-mailkoppelingen voor orderbevestiging en administratieve URL's. Versie 2.2.1 wijzigt de route naar "access": "private".
Origineel (Engels) tonen
The customer update route in EverShop is declared with "access": "public" in packages/evershop/src/modules/customer/api/updateCustomer/route.json, which causes the admin authentication middleware to call next() without checking the caller, and no customer-session middleware guards the route; the only middleware in the chain parses the JSON body. The handler in updateCustomer.js then loads the customer by the uuid taken from the URL path and writes the supplied fields back to that record, hashing a password if one is provided, without verifying that the caller owns the record. An unauthenticated request carrying a known customer uuid can therefore overwrite that customer's email address and password and read back the updated record from the 200 response, taking over the account and locking out its owner. Customer uuids are exposed through order confirmation email links and administrative URLs. Version 2.2.1 changes the route to "access": "private".