Ad

CVE-2026-82558

LOW CVSS 4.0: 2,3 EPSS 0.38%
Обновлено 6 ноября 2026
Apache
Параметр Значение
CVSS 2,3 (LOW)
Уязвимые версии 8.0.0 — 8.19.0
Устранено в версии 8.20.0
Тип уязвимости CWE-862 (Отсутствие авторизации)
Поставщик Apache
Публичный эксплойт Нет

Missing authorization in Apache Wicket. org.apache.wicket.protocol.ws.api.WebSocketBehavior, through which Wicket's native WebSocket support hands a message sent by the client to the application, calls its onMessage() callbacks without checking whether the client may invoke the component the behavior is attached to. Wicket открывает одно соединение WebSocket на странице, и полученное на нем сообщение доставляется на каждый WebSocketBehavior этой страницы. Для поведения Ajax Wicket делает эту проверку, прежде чем вызвать его, через BehaviorcanCallListener(Component), который отказывается от компонента, который не виден или не включен, включая тот, для которого IAuthorizationStrategy отрицает действие RENDER или ENABLE.

Таким образом, WebSocketBehavior, прикрепленный к такому компоненту или к ребенку одного, получает текстовые и двоичные сообщения клиента вместе с WebSocketRequestHandler, который записывает обратно этому клиенту, где поведение Ajax на том же компоненте будет отклонено. Приложение подвержено воздействию, когда оно присоединяет WebSocketBehavior, который переопределяет onMessage() к компоненту, который он скрывает, отключает или ограничивает через IAuthorizationStrategy, например, с MetaDataRoleAuthorizationStrategy или аннотацией AuthorizeAction. Клиенту нужна собственная сессия и собственная страница, которая содержит такой компонент: сообщения доставляются только на страницы в хранилище страницы собственной сессии клиента, поэтому это не дает доступа к сессии другого пользователя, странице или соединению.

Сообщения, отправленные сервером, не затрагиваются. Эта проблема затрагивает Apache Wicket: от 8.0.0 до 8.19.0, от 9.0.0 до 9.24.0, от 10.0.0 до 10.11.0. Старые, неподдерживаемые релизы от 6.0.0 также затронуты.

Пользователям рекомендуется обновиться до версий 8.20.0, 9.25.0 или 10.12.0, которые исправляют проблему.

Показать оригинальное описание (EN)

Missing authorization in Apache Wicket. org.apache.wicket.protocol.ws.api.WebSocketBehavior, through which Wicket's native WebSocket support hands a message sent by the client to the application, calls its onMessage() callbacks without checking whether the client may invoke the component the behavior is attached to. Wicket opens a single WebSocket connection per page, and a message received on it is delivered to every WebSocketBehavior of that page. For an Ajax behavior Wicket makes this check before invoking it, through Behavior#canCallListener(Component), which refuses a component that is not visible or not enabled, including one for which the IAuthorizationStrategy denies the RENDER or ENABLE action. A WebSocketBehavior attached to such a component, or to a child of one, therefore receives the client's text and binary messages, together with a WebSocketRequestHandler that writes back to that client, where an Ajax behavior on the same component would be refused. An application is affected where it attaches a WebSocketBehavior that overrides onMessage() to a component that it hides, disables, or restricts through its IAuthorizationStrategy, for example with MetaDataRoleAuthorizationStrategy or the AuthorizeAction annotation. The client needs a session of their own and a page of their own that contains such a component: messages are delivered only to pages in the page store of the client's own session, so this gives no access to another user's session, page or connection. Messages pushed by the server are not affected. This issue affects Apache Wicket: from 8.0.0 through 8.19.0, from 9.0.0 through 9.24.0, from 10.0.0 through 10.11.0. Older, unsupported releases from 6.0.0 onwards are also affected. Users are recommended to upgrade to version 8.20.0, 9.25.0 or 10.12.0, which fix the issue.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Условия для атаки
Требуются
Нужны дополнительные условия
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Низкое
Частичная утечка данных
Целостность
Низкое
Частичная модификация данных
Доступность
Нет
Нет нарушения работы

Строка CVSS v4.0