baserCMS administrative API authorization bypass through session fallback
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.
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
- Log in with a site operator (operator) privileged account.
- 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);
})
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | baserproject/baser-core | < 5.3.0 | 5.3.0 |
Verweise
- https://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29
- https://nvd.nist.gov/vuln/detail/CVE-2026-63012
- https://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb
- https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca
- https://github.com/baserproject/basercms
- https://github.com/baserproject/basercms/releases/tag/5.3.0
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-290- Plattform
- Composer
- Paket
baserproject/baser-core- Veröffentlicht
- 20.11.2026
- Aktualisiert
- 20.11.2026 02:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-wgvx-x5g3-9v29 - CC BY 4.0
Schwachstellenhistorie: baserproject/baser-core
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 11.2026 11.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 1
Veröffentlichungen pro Jahr
- 2026: 2
-
baserCMS administrative API authorization bypass through session fallback dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.