Chatwoot — это пакет для взаимодействия с клиентами. Начиная с версии 2.2.0 и до версии 4.11.2, в API-интерфейсах фильтров разговоров и контактов существует уязвимость SQL-инъекции. При фильтрации по настраиваемому атрибуту типа даты или числа с использованием операторов is_greater_than или is_less_than введенные пользователем значения в поле значений полезных данных фильтра интерполируются непосредственно в SQL-запрос без параметризации.
Любой аутентифицированный пользователь, имеющий доступ к учетной записи, может использовать это для выполнения произвольного SQL с помощью слепой инъекции на основе времени. Это влияет на /api/v1/accounts/{account_id}/conversations/filter, /api/v1/accounts/{account_id}/contacts/filter и /api/v1/accounts/{account_id}/custom_attribute_definitions. Эта уязвимость исправлена в версии 4.11.2.
Показать оригинальное описание (EN)
Chatwoot is a customer engagement suite. From 2.2.0 to before 4.11.2, a SQL injection vulnerability exists in the conversation and contact filter APIs. When filtering by a custom attribute of type date or number using the is_greater_than or is_less_than operators, user-supplied values in the values field of the filter payload are interpolated directly into the SQL query without parameterization. Any authenticated user with access to an account can exploit this to execute arbitrary SQL via time-based blind injection. This affects /api/v1/accounts/{account_id}/conversations/filter, /api/v1/accounts/{account_id}/contacts/filter, and /api/v1/accounts/{account_id}/custom_attribute_definitions. This vulnerability is fixed in 4.11.2.
Характеристики атаки
Последствия
Строка CVSS v3.1