| 제목 | BackdropCMS BackdropCMS-1.35.2 1.35.2 Remote Code Execution |
|---|
| 설명 | Backdrop CMS 1.35.2 (PHP-based open-source CMS forked from Drupal, https://backdropcms.org, source https://github.com/backdrop/backdrop) allows any authenticated user holding only the "synchronize configuration" permission to achieve remote code execution through the configuration import feature, bypassing the dedicated "use PHP for settings" permission that the product itself defines to govern this capability.
The Views module (bundled in core) ships a "PHP Code" argument default plugin (core/modules/views/plugins/views_plugin_argument_default_php.inc). Its configuration form is gated by an access() check requiring user_access('use PHP for settings') (lines 43-45), but the execution path get_argument() (line 52) calls eval($this->options['code']) with no permission check. The single configuration import form (POST /admin/config/development/configuration/single/import, config_import_single_form, core/modules/config/config.admin.inc lines 410-493) writes a views.view.* configuration containing a contextual filter with default_argument_type = "php" and attacker-supplied PHP code, without any validation of that capability: config_sync_validate_file() (core/modules/config/config.sync.inc lines 173-235) only verifies config-prefix ownership, and the Views module implements no config validation hooks. On submit, backdrop_flush_all_caches() immediately publishes an attacker-chosen page path with anonymous access, and the first unauthenticated GET of that path executes the injected code via views_handler_argument::get_default_argument() (core/modules/views/handlers/views_handler_argument.inc lines 801-806).
No FTP/SSH credentials, no file-transfer (authorize.php) interaction, and no writable code directory are required. The payload persists in the configuration store (database/JSON) rather than as a webshell file on disk, re-executes for every anonymous request to the view path, and the same primitive exists in the "PHP Code" argument validator plugin (views_plugin_argument_validate_php.inc line 52) and the full-import (config.tar.gz) pathway.
Verified on a default installation (Backdrop 1.35.2, Apache/2.4.39 Win64, PHP 8.2.9): arbitrary PHP code execution in the web server process context. |
|---|
| 원천 | ⚠️ https://github.com/Gum29/rrrreeeeeeee-readme/blob/main/images/img/Backdrop-RCE-Standard-Vuln-Report-EN.md |
|---|
| 사용자 | 92973383 (UID 101691) |
|---|
| 제출 | 2026. 10. 26. AM 08:51 (29 날 ago) |
|---|
| 모더레이션 | 2026. 11. 24. PM 02:31 (29 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 442893 [Backdrop CMS 까지 1.35.2 Views views_plugin_argument_default_php.inc get_argument 권한 상승] |
|---|
| 포인트들 | 20 |
|---|