GHSA-JCMX-8H5F-9QWH
Missing authorization allows limited staff to modify customer credit balances
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-JCMX-8H5F-9QWH divulgada · CVSS 7.1 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
An authenticated staff user with only `admin.users.viewAny` permission can access customer credit management pages and modify credit balances without additional authorization.
The affected Filament pages lack dedicated model policies, causing authorization checks for credit creation, modification, and deletion to succeed by default. Additionally, the inline credit balance editor does not enforce update permissions.
As a result, a low-privileged staff user can assign arbitrary credit to customer accounts, potentially obtaining paid services without payment. The same authorization issue also exposes billing-agreement information belonging to other customers.
Technical Details
`UserResource` exposes the following related-record pages:
/admin/users/{record}/credits
/admin/users/{record}/billing-agreementsAccess to these pages is permitted through `UserPolicy::viewAny()`, which only requires:
$user->hasPermission('admin.users.viewAny');Both `ShowCredits` and `ShowBillingAgreements` extend Filament's `ManageRelatedRecords`, but Paymenter does not define a `CreditPolicy` or `BillingAgreementPolicy`.
Because Filament's strict authorization mode is disabled, missing model policies result in authorization being granted by default.
Consequently, a staff user with only `admin.users.viewAny` can access credit management actions without having any credit-specific permissions.
`ShowCredits::table()` exposes three modification paths:
- `CreateAction::make()` allows creating credit records.
- `DeleteAction::make()` allows deleting existing credit records.
- `TextInputColumn::make('amount')` allows directly modifying customer credit balances.
The inline balance editor is particularly affected because Filament does not automatically invoke the model's `update` policy when saving inline table columns. Without an authorization-based restriction, balance changes are saved directly.
The related Billing Agreements page suffers from the same missing-policy behavior, allowing unauthorized access to billing-agreement names, gateway information, and external references.
Impact
A low-privileged staff user can create, modify, or delete credit balances belonging to arbitrary customers without the required financial management permissions.
An attacker can assign credit to an account they control and use that credit to pay invoices, potentially obtaining services, renewals, or upgrades without making a corresponding payment.
The vulnerability also allows unauthorized disclosure of customer billing-agreement identifiers and associated gateway information.
Exploitation requires an authenticated staff account with `admin.users.viewAny` permission. It does not require super-admin privileges or direct database access.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistpaymenter/paymenter |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/Paymenter/Paymenter/security/advisories/GHSA-jcmx-8h5f-9qwhLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
