OmniFaces fixes SSE session-ownership flaw in version 5.4.3

  • OmniFaces
  • SSE
  • HTTP session
  • confidentiality

Vulnerability affects versions 5.2.0 through 5.4.2

Leaked channel IDs allow unauthorized message access

OmniFaces maintainers addressed a vulnerability in version 5.4.3 that let users connect to server-sent events (SSE) push channels without belonging to the HTTP session that created them. The flaw affects versions 5.2.0 through 5.4.2.

The issue involved session- or view-scoped channels, which are intended to deliver messages to a particular user session or page. The SSE endpoint accepted a connection if the channel ID appeared in an application-wide registry, without checking whether the connecting HTTP session owned that channel.

If someone obtained a channel ID, they could reuse it from another session—or without a session—to receive messages sent to that channel. The exposure depends on the information the application sends; the reported flaw allows receipt of messages, not injection. No supplemental sources were used.

Key terms explained

OmniFaces

OmniFaces is an open-source utility library designed to simplify development tasks for Jakarta Faces web applications. It provides additional components and tools to address common shortcomings in the standard Faces API.