Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 0 ๐Ÿ“– 3 min read

CVE-2026-63012: CVE-2026-63012: Authorization Bypass and Information Disclosure in baserCMS Administrative API

CVE-2026-63012: Authorization Bypass and Information Disclosure in baserCMS Administrative API Vulnerability ID: CVE-2026-63012 CVSS Score: 6.5 Published: 2026-11-20 CVE-2026-63012 is an authorization bypass and inf

CVE-2026-63012: Authorization Bypass and Information Disclosure in baserCMS Administrative API

Vulnerability ID: CVE-2026-63012
CVSS Score: 6.5
Published: 2026-11-20

CVE-2026-63012 is an authorization bypass and information disclosure vulnerability in baserCMS versions prior to 5.3.0. An architectural flaw in the authentication service configuration combined with overly permissive API access control rules allows low-privileged operator accounts to query restricted administrative API endpoints by supplying a matching HTTP Referer header.

TL;DR

Authenticated baserCMS operators can bypass JWT requirements on administrative API endpoints via a session fallback mechanism triggered by the HTTP Referer header, exposing restricted site configurations and infrastructure settings.

โš ๏ธ Exploit Status: POC

Technical Details

  • CVE ID: CVE-2026-63012
  • GHSA ID: GHSA-wgvx-x5g3-9v29
  • CWE: CWE-290 (Authentication Bypass by Spoofing)
  • CVSS v3.1 Score: 6.5 Medium (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
  • Attack Vector: Network (Authenticated Low-Privileged Operator)
  • Impact: High Confidentiality Loss (Administrative Site Configuration Disclosure)
  • Exploit Status: Public PoC Available
  • CISA KEV Status: Not Listed

Affected Systems

  • baserproject/basercms
  • baserproject/baser-core
  • baser-core: < 5.3.0 (Fixed in: 5.3.0)
  • basercms: < 5.3.0 (Fixed in: 5.3.0)

Code Analysis

Commit: 2d7f74d

fix: Api/Admin ใฎ่ชๅฏไธๆ•ดๅˆใซใ‚ˆใ‚‹ใ‚ชใƒšใƒฌใƒผใ‚ฟใƒผใฎๆจฉ้™ๆ˜‡ๆ ผใ‚’ไฟฎๆญฃ (GHSA-wgvx-x5g3-9v29)

--- a/plugins/baser-core/config/permission.php
+++ b/plugins/baser-core/config/permission.php
@@ -283,7 +283,7 @@
             'items' => [
                 'CheckSendmail' => ['title' => __d('baser_core', 'ใƒกใƒผใƒซ้€ไฟกใƒ†ใ‚นใƒˆ'), 'url' => '/baser/api/admin/baser-core/site_configs/check_sendmail.json', 'method' => 'POST', 'auth' => false],
                 'Edit' => ['title' => __d('baser_core', '็ทจ้›†'), 'url' => '/baser/api/admin/baser-core/site_configs/edit.json', 'method' => 'POST', 'auth' => false],
-                'View' => ['title' => __d('baser_core', '่จญๅฎšๅ–ๅพ—'), 'url' => '/baser/api/admin/baser-core/site_configs/view.json', 'method' => 'GET', 'auth' => true],
+                'View' => ['title' => __d('baser_core', '่จญๅฎšๅ–ๅพ—'), 'url' => '/baser/api/admin/baser-core/site_configs/view.json', 'method' => 'GET', 'auth' => false],
             ]
         ],

Commit: 464227b

fix: ใ‚ปใ‚ญใƒฅใƒชใƒ†ใ‚ฃใ‚ขใƒ‰ใƒใ‚คใ‚ถใƒช draft 12ไปถใ‚’5.2.xๅ‘ใ‘ใซไฟฎๆญฃ

Exploit Details

  • GitHub Security Advisory: Official proof-of-concept JavaScript fetch snippet demonstrating unauthorized retrieval of site_configs/view.json by an operator session.

Mitigation Strategies

  • Upgrade baserCMS and baser-core to version 5.3.0 or the latest patched 5.2.x release.
  • Enforce explicit role-based authorization ('auth' => false) on all sensitive administrative API endpoints in permission.php.
  • Replace spoofable HTTP Referer header checks with server-side authentication provider verification.
  • Restrict access to /baser/api/admin/ paths at the reverse proxy or WAF layer if operator accounts do not require administrative SPA features.

Remediation Steps:

  1. Update baserCMS packages via Composer to version 5.3.0 or apply commits 2d7f74d3d5d584b9478c210016b81a1b7c30e9fb and 464227b8770704076ee6eddd4bd464c184786eca.
  2. If unable to upgrade immediately, edit plugins/baser-core/config/permission.php and set 'auth' => false for SiteConfigs View and Sites View, Index, and GetSelectableDevicesAndLang API endpoints.
  3. Clear the CakePHP application cache after modifying configuration files to ensure updated permission rules take effect.
  4. Audit HTTP access logs for requests to /baser/api/admin/baser-core/site_configs/view.json by non-administrator users and rotate any exposed SMTP or third-party credentials.

References

Read the full report for CVE-2026-63012 on our website for more details including interactive diagrams and full exploit analysis.

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.