CyberPanel v1.9.1 содержит уязвимость обхода пути в методе сжатия, открытую через конечную точку /filemanager/controller. Аутентифицированный удаленный злоумышленник, владеющий любым настроенным доменом, может предоставить абсолютные или иные пути файлов out-of-scope в свойстве listOfFiles JSON вместе со значениями basePath и compressedFileName, контролируемыми атакующим, в запросе method-compress. Поскольку приложение проверяет только владение доменом и не канонизирует или не ограничивает эти пути в авторизованном каталоге сайта, сервер добавляет их к командам архива zip или tar и выполняет их как пользователь веб-сайта externalApp, позволяя раскрывать произвольные читаемые файлы через сгенерированный архив.
Показать оригинальное описание (EN)
CyberPanel v1.9.1 contains a path traversal vulnerability in the compress method exposed through the /filemanager/controller endpoint. An authenticated remote attacker with ownership of any configured domain can supply absolute or otherwise out-of-scope file paths in the listOfFiles JSON property, together with attacker-controlled basePath and compressedFileName values, in a method=compress request. Because the application validates only domain ownership and does not canonicalize or restrict these paths to the authorized site directory, the backend appends them to zip or tar archive commands and executes them as the website externalApp user, allowing disclosure of arbitrary readable files through the generated archive.
Характеристики атаки
Последствия
Строка CVSS v3.1