| Título | wolone BlizzCMS 1.2.1 Broken Access Control |
|---|
| Descrição | `/confmigrate` is routed to `Home::setconfig()`, which verifies neither the login state nor the installation-complete flag `migrate_status`. The endpoint therefore remains open to any anonymous visitor after the site has been fully installed. It passes six POST fields verbatim to `Home_model::updateconfigs()`, which uses `Array_Config_Writer` to overwrite `application/config/blizzcms.php` directly via `file_put_contents()`. Although each value is escaped by `var_export()`, the resulting literal is then concatenated into the **replacement string** of a `preg_replace()` call (`'$1$2 = ' . var_export($replacement, true)`). A `$2` inside the value is consequently interpreted as a backreference and expanded to `['website_name']`, whose embedded single quotes terminate the PHP string literal and leave the configuration file syntactically invalid. That configuration is loaded during the bootstrap phase of every request through `$autoload['config'] = ['blizzcms', 'seo']` in `application/config/autoload.php`; once corrupted, every request to the site returns a PHP Parse error and administrators cannot log in to repair it. The same request can also set `emulator` / `bnet_enabled` to arbitrary values, causing the `switch` in `Auth_model::valid_password()` to match no branch and return false, which locks out every account including administrators. |
|---|
| Fonte | ⚠️ https://github.com/WoW-CMS/BlizzCMS/issues/162 |
|---|
| Utilizador | Wuwj (UID 101900) |
|---|
| Submissão | 30/10/2026 14h44 (há 27 dias) |
|---|
| Moderação | 26/11/2026 22h30 (27 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 444642 [WOW-CMS BlizzCMS até 1.2.1 Home Home.php Home::setconfig Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|