llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · paymenter/paymenter

GHSA-3W38-HV8F-F6M3

First-cycle coupons can be applied permanently to service renewals

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
7.7
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición22 dDesde la divulgación, 30 oct 2026, 8:40 a. m.
Detección20 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Si el fabricante actualiza el aviso, vuelve a mirar.Que no se te pase entre tantos tickets.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
30 oct 26
19 nov 26
21 nov 26
30 oct 26
5 nov 26
10 nov 26
16 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-3W38-HV8F-F6M3 divulgada · CVSS 7.7 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

An authenticated customer can exploit inconsistent coupon state handling during checkout to turn a first-billing-cycle discount into a permanent discount on all future service renewals.

`App\Livewire\Cart::checkout()` validates coupons using the server-side cart but determines the recurring service price using Livewire component state. When a coupon is applied through the `?coupon=` query parameter after the component has been initialized, these values can become inconsistent.

As a result, a first-cycle-only coupon can be stored as a permanent service discount. With a 100% coupon, the service is created with a recurring price of `0.00`, allowing it to renew indefinitely without generating further invoices.

Technical Details

`app/Livewire/Cart.php` validates the coupon using the authoritative cart record:

if ($cart->coupon && !ClassesCart::validateAndRefreshCoupon()) {
    // ...
}

However, the recurring service price is determined using `$this->coupon` instead:

if (is_object($this->coupon) && ($this->coupon->recurring === null || (int) $this->coupon->recurring == 1)) {
    $price = $item->price->original_price;
} else {
    $price = $item->price->price;
}

The component's `$this->coupon` property is initialized during `mount()` and may become outdated when the cart is modified independently.

`app/Http/Middleware/CheckoutParameterMiddleware.php` allows coupons to be applied through the `?coupon=` query parameter:

private function handleCouponApplication(Request $request): void
{
    if (!$request->has('coupon')) {
        return;
    }

    try {
        Cart::applyCoupon($request->input('coupon'));
    } catch (DisplayException $e) {
        return;
    }
}

Because this updates the cart without updating an already-mounted Livewire component, `$cart->coupon` can contain a valid coupon while `$this->coupon` remains `null`.

During checkout, the application consequently stores the discounted price in `services.price` instead of the original recurring price.

`app/Console/Commands/CronJob.php` uses `services.price` when generating renewal invoices, causing the discount to persist beyond its configured billing cycle.

For 100% discounts, the resulting price of `0.00` causes the renewal process to extend the service directly without creating an invoice.

Impact

An authenticated customer can convert a coupon intended for the first billing cycle into a permanent discount on all future renewals.

For example, a service normally costing $100 per month with a 50% first-cycle coupon can incorrectly renew at $50 indefinitely instead of returning to $100.

With a 100% first-cycle coupon, the recurring service price becomes $0, allowing the customer to receive ongoing service renewals without further payments or renewal invoices.

The vulnerability requires a valid first-cycle coupon and an authenticated customer account. No administrative privileges, modified Livewire payloads, or compromised payment gateways are required.

This can result in recurring revenue loss and may also occur unintentionally when customers apply promotional coupons in another browser tab before completing checkout.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.7/ 10Muy alto
Vector 8.7 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
paymenter/paymenter≤ 1.5.8
1.5.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistpaymenter/paymenter
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/Paymenter/Paymenter/security/advisories/GHSA-3w38-hv8f-f6m3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.