| 제목 | wolone BlizzCMS 1.2.1 Broken Access Control |
|---|
| 설명 | `/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. |
|---|
| 원천 | ⚠️ https://github.com/WoW-CMS/BlizzCMS/issues/162 |
|---|
| 사용자 | Wuwj (UID 101900) |
|---|
| 제출 | 2026. 10. 30. PM 02:44 (27 날 ago) |
|---|
| 모더레이션 | 2026. 11. 26. PM 10:30 (27 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 444642 [WOW-CMS BlizzCMS 까지 1.2.1 Home Home.php Home::setconfig 권한 상승] |
|---|
| 포인트들 | 20 |
|---|