baserCMS — фреймворк для разработки сайтов. От 5.2.3 до 5.3.0, BcThemeFileService::getFullpath() в plugins/bc-theme-file/src/Service/BcThemeFileService.php пропускает проверку удержания пути, когда realpath() терпит неудачу для несуществующей подкаталоги темы, выбранной параметром типа. Аутентифицированный администратор может указать путь прохождения через файл темы API для доступа к местоположениям за пределами каталога темы.
Обход исправления CVE-2026-30940 позволяет записывать, перезаписывать или удалять файлы в разрешениях процесса PHP, а там, где может быть записан исполняемый PHP, удаленное выполнение кода. Эта проблема исправлена в 5.3.0.
Показать оригинальное описание (EN)
baserCMS is a website development framework. From 5.2.3 until 5.3.0, BcThemeFileService::getFullpath() in plugins/bc-theme-file/src/Service/BcThemeFileService.php skips its path containment check when realpath() fails for a nonexistent theme subdirectory selected by the type parameter. An authenticated administrator can supply a traversal path through the theme-file API to access locations outside the theme directory. The bypass of the CVE-2026-30940 fix can permit file writes, overwrites or deletion within the PHP process permissions and, where executable PHP can be written, remote code execution. This issue is fixed in 5.3.0.
Характеристики атаки
Последствия
Строка CVSS v3.1