Распределение уязвимостей Resources Without Limits или Throttling в Erlang OTP inets (модуль httpd_script_env) позволяет не аутентифицированному удаленному злоумышленнику исчерпать таблицу атомов httpd сервера, обслуживающего скрипты ESI. Когда mod_esi создает среду для обратного вызова ESI, httpd_script_env:http_env_element/3 проверяет, что имя заголовка запроса уже существует в виде атома, а затем создает атом http_<header-name> с list_to_atom/1. Атомы никогда не собирают мусор, и каждый новый атом проходит проверку существования по более позднему запросу.
Таким образом, узел с именем заголовка создает http_node, заголовок с именем http_node создает http_http_node и так далее. Поток запросов к любому ESI URL увеличивает таблицу атомов до тех пор, пока она не достигнет своего предела (+t), а затем весь Erlang VM прерывается вместе с каждым приложением на узле. Эта проблема затрагивает OTP от OTP 17.0 до OTP 27.3.4.20, OTP 28.5.0.9 и OTP 29.1.3, соответствующие инетам от 5.10 до 9.3.2.9, 9.6.2.5 и 9.8.2.
Затрагивается ли OTP перед OTP 17.0, соответствующий inets перед 5.10, неизвестно.
Показать оригинальное описание (EN)
Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts. When mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_<header-name> with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Характеристики атаки
Последствия
Строка CVSS v4.0