Froxlor до того, как 2.3.13 вернет столбец ssl_key_file, в котором хранится необработанный контент частного ключа PEM TLS, дословно в ответах JSON команд Certificates.get и Certificates.listing API, потому что результаты базовых запросов domain_ssl_settings передаются через ApiCommand::response() без какого-либо зачистки поля или списка разрешений. Низкопривилегированный аутентифицированный клиент API может получить закрытые ключи сертификатов своих собственных доменов, включая ключи Let's Encrypt, которые Froxlor генерирует на стороне сервера и хранит только root-only (0600) и к которым клиент в противном случае не имеет доступа к файловой системе; учетные записи реселлера и администратора customers_see_all могут сбрасывать закрытые ключи других принципалов через ту же раковину. Раскрытые ключи позволяют имитировать домен, пассивную расшифровку захваченного трафика TLS и активные атаки machine-in-the-middle.
Показать оригинальное описание (EN)
Froxlor before 2.3.13 returns the ssl_key_file column — which stores the raw PEM TLS private-key content — verbatim in the JSON responses of the Certificates.get and Certificates.listing API commands, because the results of the underlying domain_ssl_settings queries are passed through ApiCommand::response() without any field stripping or allowlist. A low-privileged authenticated customer API caller can retrieve the private keys of their own domains' certificates, including Let's Encrypt keys that Froxlor generates server-side and stores root-only (0600) and to which the customer otherwise has no filesystem access; reseller and customers_see_all admin accounts can dump the private keys of other principals through the same sink. Disclosed keys enable domain impersonation, passive decryption of captured TLS traffic, and active machine-in-the-middle attacks.
Характеристики атаки
Последствия
Строка CVSS v4.0