CVE-2026-47127
Beschrijving NL
Ghostfolio is een open source software voor vermogensbeheer. Voorafgaand aan versie 3.4.0 haalt Ghostfolio's Stripe checkout succes-URL-handler bij `GET /api/v1/subscription/stripe/callback? checkoutSessionId =` de Stripe Checkout Session by ID op en verleent onvoorwaardelijk een Premium-abonnement op de `client_reference_id` van de sessie — zonder ooit `session.payment_status` of `session.status` te controleren. Er is geen apart Stripe webhook-eindpunt met `stripe-signature` -verificatie; deze callback is het enige codepad dat Stripe-gestuurde abonnementen creëert. Elke geverifieerde gebruiker kan zelf een 1-jarig Premium-abonnement verlenen zonder ooit te betalen. Versie 3.4.0 weigert sessies tenzij `session.payment_status ===' paid '` EN `session.status ===' complete '` (mislukt gesloten). Bovendien kan een nieuwe unieke `stripeCheckoutSessionId` -kolom → een sessie niet twee keer worden ingewisseld (race-veilig via DB unieke beperking).
Origineel (Engels) tonen
Ghostfolio is an open source wealth management software. Prior to version 3.4.0, Ghostfolio's Stripe checkout success-URL handler at `GET /api/v1/subscription/stripe/callback?checkoutSessionId=` retrieves the Stripe Checkout Session by ID and unconditionally grants a Premium subscription to the session's `client_reference_id` — without ever checking `session.payment_status` or `session.status`. There is no separate Stripe webhook endpoint with `stripe-signature` verification; this callback is the sole code path that creates Stripe-driven subscriptions. Any authenticated user can self-grant a 1-year Premium subscription without ever paying. Version 3.4.0 rejects sessions unless `session.payment_status === 'paid'` AND `session.status === 'complete'` (fails closed). Additionally, new unique `stripeCheckoutSessionId` column → a session can't be redeemed twice (race-safe via DB unique constraint).