Wiz rejoint Google Cloud : Faire de la magie ensemble

CVE-2026-63012: 
PHP Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-63012 is an authorization bypass vulnerability in baserCMS, a PHP-based website development framework, that allows authenticated operator-level users to access administrator-restricted API endpoints by abusing a session authentication fallback mechanism tied to the Referer header. It affects all versions of baserproject/baser-core up to and including 5.2.3, and was originally published on July 30, 2026, with NVD publication on November 19, 2026. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (Github Advisory, Feedly).

Détails techniques

The root cause is classified as CWE-290 (Authentication Bypass by Spoofing). In the getAuthenticationService() method within BaserCorePlugin.php, session authentication was conditionally enabled for the Api/Admin prefix only when the Referer header matched the current site domain — a check performed using BcUtil::isSameReferrerAsCurrent(), which used a prefix (forward-match) comparison without validating scheme or port. Because operator accounts hold an Admin auth prefix (not Api/Admin), they cannot obtain an Api/Admin JWT; however, by supplying a matching Referer header in an API request, session authentication activates and the operator's existing admin session is accepted. This allows operators to reach any /baser/api/admin/ endpoint configured with auth => true in permission.php — such as /baser/api/admin/baser-core/site_configs/view.json — even when the corresponding admin-side route is restricted to administrators (auth => false) (Github Advisory, Patch Commit).

Impact

Successful exploitation allows an authenticated operator to read administrator-restricted configuration data, including system site configuration (site_configs/view.json), site management listings (sites/index.json, sites/view/*.json), and device/language selection data. The impact is limited to confidentiality — there is no integrity or availability impact — but the exposed configuration data may include sensitive system settings that could facilitate further attacks or privilege escalation. The vulnerability does not enable unauthenticated access; a valid operator account is required (Github Advisory, Feedly).

Exploitabilité

No public proof-of-concept exploit code has been published, and there is no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The vulnerability requires low privileges (a valid operator account) and no user interaction, making it straightforward to exploit for any insider or compromised operator credential. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The GitHub advisory includes a working PoC snippet demonstrating exploitation via browser DevTools (Github Advisory).

Étapes d’exploitation

  1. Obtain operator credentials: Acquire a valid baserCMS operator-level account (e.g., through phishing, credential stuffing, or insider access) on a target running baserCMS ≤ 5.2.3.
  2. Log in to the admin panel: Authenticate to the baserCMS admin interface at /baser/admin/ to establish a valid session cookie.
  3. Craft a spoofed API request: From a browser session or tool (e.g., curl, browser DevTools), send a GET request to a restricted admin API endpoint such as /baser/api/admin/baser-core/site_configs/view.json, including a Referer header set to the site's own admin origin (e.g., Referer: https://target.example.com/baser/admin/).
  4. Trigger session authentication fallback: The getAuthenticationService() method detects the matching Referer header and loads the Session authenticator for the Api/Admin prefix, accepting the operator's existing admin session cookie as valid authentication.
  5. Retrieve restricted configuration data: The API responds with administrator-restricted configuration information (e.g., system settings, site configuration), which the operator account should not be able to access. Example PoC (run in browser DevTools while logged in as operator):
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); });

(Github Advisory)

Indicateurs de compromis

  • Network: Unexpected GET requests to /baser/api/admin/baser-core/site_configs/view.json, /baser/api/admin/baser-core/sites/index.json, or /baser/api/admin/baser-core/sites/view/*.json from operator-level sessions; API requests to Api/Admin endpoints accompanied by a Referer header pointing to the admin panel but lacking a JWT Authorization header.
  • Logs: Web server access logs showing GET /baser/api/admin/ requests from authenticated operator sessions (identifiable by session cookie, no Bearer token) with a Referer value matching the site's own admin URL; repeated access to admin API endpoints by accounts not in the administrator group.
  • Application Behavior: Operator accounts successfully receiving JSON responses from admin-only API endpoints (HTTP 200) that should return 403 for non-administrators on unpatched versions.

Atténuation et solutions de contournement

Upgrade baserproject/baser-core to version 5.3.0 or later, which removes the Referer-based session authentication fallback and replaces it with a SessionAuthenticator provider check, and corrects the permission.php entries for SiteConfigsApi/View, SitesApi/Index, SitesApi/View, and SitesApi/GetSelectableDevicesAndLang from auth => true to auth => false (baserCMS Release, Patch Commit). For operators unable to upgrade immediately, restrict network-level access to /baser/api/admin/ endpoints (e.g., via WAF or reverse proxy rules), or disable API access entirely if not required for operations (Feedly).

Ressources supplémentaires


Source: Ce rapport a été généré à l’aide de l’IA

Connexe PHP Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-hg3m-q4fj-ggmqCRITICAL9.3
  • PHP logoPHP
  • wallabag/wallabag
NonNonNov 20, 2026
CVE-2026-63012MEDIUM6.5
  • PHP logoPHP
  • baserproject/baser-core
NonOuiNov 19, 2026
GHSA-crpp-mf59-rhpqMEDIUMN/A
  • PHP logoPHP
  • api-platform/core
NonOuiNov 20, 2026
GHSA-9wh3-m3m5-jffxMEDIUMN/A
  • PHP logoPHP
  • nowo-tech/transaction-doctrine
NonOuiNov 20, 2026
GHSA-65w2-9r4h-848gMEDIUMN/A
  • PHP logoPHP
  • nowo-tech/transaction-doctrine
NonOuiNov 20, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités