llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · baserproject/baser-core

GHSA-WGVX-X5G3-9V29

baserCMS administrative API authorization bypass through session fallback

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión5.3.0
Exposición1 dDesde la divulgación, 19 nov 2026, 7:18 p. m.
Detección1 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: GitHub Security Advisories +2
12:56 p. m.
07:18 p. m.
10:59 p. m.
12:56 p. m.
03:27 a. m.
05:58 p. m.
08:29 a. m.
10:59 p. m.
FechaFaseEventoDetalle
Monitoreo Detectada Ingresó al índice
Divulgación Publicada GHSA-WGVX-X5G3-9V29 divulgada · CVSS 6.5 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: GitHub Security Advisories Registro visto por primera vez en GitHub Security Advisories
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

An authorization bypass occurs against the API endpoint `/baser/api/admin/` by abusing the session authentication fallback.

Details

The mail settings are used here as an example.

Admin side:

https://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L100
With `auth => false`, it is not accessible with operator privileges.

API side:

https://github.com/baserproject/basercms/blob/master/plugins/baser-core/config/permission.php#L286
With `auth => true`, it is accessible even with operator privileges.

---

First, the default group for operators has `auth_prefix = 'Admin'`, which does not include `Api/Admin`.

https://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/Model/Table/UsersTable.php#L389

Because of this condition, when trying to access the `Api/Admin` API with a JWT, operators have `auth_prefix = 'Admin'`, so they cannot obtain a JWT and should not be able to access it.

However, there is a problem in `getAuthenticationService`.

https://github.com/baserproject/basercms/blob/master/plugins/baser-core/src/BaserCorePlugin.php#L507

Here, session authentication is enabled even for the `Api/Admin` prefix.
By accessing the API with a Referer header, session authentication becomes active, allowing access to the API without holding a JWT.

As a result, all APIs configured with `auth => true` in `permission.php` become accessible by operators.

PoC
  1. Log in with a site operator (operator) privileged account.
  2. Run the following code in DevTools:
fetch('/baser/api/admin/baser-core/site_configs/view.json', {
  headers: {
    'Referer': location.origin + '/baser/admin/' 
  }
})
.then(r => r.json())
.then(d => {
  console.table(d.siteConfig);
})

<img width="1886" height="1027" alt="Screenshot_20260404_075242" src="https://github.com/user-attachments/assets/e91a1d27-ac36-42fb-88a8-bc699b28b04f" />

<img width="1277" height="595" alt="Screenshot_20260404_075133" src="https://github.com/user-attachments/assets/9c54459a-dad0-4445-a35d-1373255c2b22" />

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:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
baserproject/baser-core< 5.3.0
5.3.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistbaserproject/baser-core
Corregida 5.3.0 — —
Versiones corregidas5.3.0
Explotación

Arsenal público

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

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-63012
Otrahttps://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29
Otrahttps://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb
Otrahttps://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca
Otrahttps://github.com/baserproject/basercms
Otrahttps://github.com/baserproject/basercms/releases/tag/5.3.0

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