| Titel | wolone BlizzCMS 1.2.1 Broken Access Control |
|---|
| Beschreibung | `/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. |
|---|
| Quelle | ⚠️ https://github.com/WoW-CMS/BlizzCMS/issues/162 |
|---|
| Benutzer | Wuwj (UID 101900) |
|---|
| Einreichung | 30.10.2026 14:44 (vor 27 Tagen) |
|---|
| Moderieren | 26.11.2026 22:30 (27 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 444642 [WOW-CMS BlizzCMS bis 1.2.1 Home Home.php Home::setconfig erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|