baserCMS administrative API authorization bypass through session fallback
baserproject basercms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| baserproject basercms |
| No fix yet |
Original description
baserCMS is a website development framework. Prior to 5.3.0, getAuthenticationService permits an Api/Admin session authentication fallback based on the Referer header, although operator accounts have an Admin auth prefix and cannot obtain an Api/Admin JWT. An authenticated operator can therefore access /baser/api/admin/ endpoints whose permission.php entries have auth => true, including /baser/api/admin/baser-core/site_configs/view.json, even when the corresponding administrative functionality is restricted. This can disclose administrator-restricted configuration information. This issue is fixed in 5.3.0.
From the CVE record · GitHub_M