The 10Web Booster – Website speed optimization, Cache & Page Speed optimizer plugin for WordPress is vulnerable to a limited file write via path traversal in versions up to, and including, 2.34.5 This is due to the OptimizerWebPageCache::get_cache_file_dir() function concatenating raw, unsanitized $_GET parameter names and values into the on-disk cache path, and the cache_content() sink calling mkdir() and file_put_contents() on the result with no realpath containment check — unlike the sibling delete_page_cache(), which does perform one. Это позволяет неаутентифицированным злоумышленникам создавать произвольные каталоги (режим 0777, рекурсивно) вне корня кэша и записывать в них кэшированную страницу. Запись - это LIMITED: имя файла всегда 'source.html', поэтому расширение исправлено, а содержимое - это отображаемый буфер страницы, а не данные, предоставленные злоумышленником.
Файлы PHP не могут быть записаны, а выполнение кода невозможно; демонстрируемым воздействием является отравление кэша и произвольное создание каталога.
Показать оригинальное описание (EN)
The 10Web Booster – Website speed optimization, Cache & Page Speed optimizer plugin for WordPress is vulnerable to a limited file write via path traversal in versions up to, and including, 2.34.5 This is due to the OptimizerWebPageCache::get_cache_file_dir() function concatenating raw, unsanitized $_GET parameter names and values into the on-disk cache path, and the cache_content() sink calling mkdir() and file_put_contents() on the result with no realpath containment check — unlike the sibling delete_page_cache(), which does perform one. This makes it possible for unauthenticated attackers to create arbitrary directories (mode 0777, recursively) outside the cache root and write a cached page into them. The write is LIMITED: the filename is always 'source.html', so the extension is fixed, and the content is the rendered page buffer rather than attacker-supplied data. PHP files cannot be written and code execution is not possible; the demonstrated impact is cache poisoning and arbitrary directory creation.
Характеристики атаки
Последствия
Строка CVSS v3.1