Intel

AIKIDO-2026-329430

omnifaces is vulnerable to Missing Authorization

Missing AuthorizationGHSA-4w3g-h8rh-9hwj Published 2 days ago

59

Medium Risk

This Affects:

JAVAomnifaces
2.3.0 - 2.7.32
Fixed in 2.7.33
3.0.0 - 3.14.22
Fixed in 3.14.23
4.0.0 - 4.7.11
Fixed in 4.7.12
5.0.0 - 5.4.1
Fixed in 5.4.2
Are you affected? Scan for Free

TL;DR

The <o:socket> WebSocket handshake accepts any client presenting a channel ID that is registered in the application, without verifying that the calling HTTP session owns that channel. Session- and view-scoped channels can therefore be opened from unrelated sessions when the channel ID leaks through links, logs, referrers, or scripts. Messages pushed to a private channel can then be received without authentication, while application-scoped channels are unaffected. The fix binds session- and view-scoped channel IDs to their owning HTTP session and enforces ownership during the handshake.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use <o:socket> push with session or view scope.

Background info

omnifaces is vulnerable to Missing Authorization in versions 2.3.0 - 2.7.32, 3.0.0 - 3.14.22, 4.0.0 - 4.7.11 and 5.0.0 - 5.4.1.

How to fix this

Upgrade the org.omnifaces:omnifaces library to the patch version.