🔍 CVE-2026-105927

0.0
CVSS Score
UNKNOWN
2026-10-21
2026-10-22 16:56
✅ 완료

🇰🇷 한글 설명

Apache Pulsar의 WebSocket 서비스에서 권한 검증 미흡으로 인해 발생하는 취약점입니다. 인증된 사용자가 CONSUME 권한만 있어도 deadLetterTopic 파라미터를 조작하여 자신이 PRODUCE 권한이 없는 다른 토픽에 메시지를 주입할 수 있습니다.

💡 쉬운 설명

메시지를 읽을 권한만 있는 사용자가 시스템의 허점을 이용해 권한이 없는 다른 곳에 가짜 메시지를 보낼 수 있는 문제입니다. 이로 인해 시스템에 잘못된 데이터가 입력되어 예기치 않은 동작을 일으킬 수 있습니다.

🇺🇸 원문 (English)

The Apache Pulsar WebSocket service allows a WebSocket consumer to configure a dead letter policy through query parameters of the consumer endpoint, including the deadLetterTopic parameter that names the topic to which messages are written after the maximum number of redeliveries is exceeded. When authorization is enabled, the WebSocket service checks only that the connecting user holds the CONSUME permission on the subscribed topic. It does not check whether the user holds the PRODUCE permission on the topic named in deadLetterTopic. The dead letter messages are then written by the WebSocket service using its own broker client identity rather than the identity of the connecting user. As a result, an authenticated user who holds the CONSUME permission on at least one topic can cause messages to be written to a topic of their choosing in any existing namespace, including namespaces belonging to other tenants, provided the role used by the WebSocket service to connect to the brokers is authorized to produce to that topic and the topic accepts a producer that registers no schema. The dead letter producer created by the WebSocket service registers no schema, so it is rejected when the target topic has a schema and schema validation is enforced for that topic or its namespace; this setting is not enabled by default. The same user is refused when attempting to produce to that topic directly. Where automatic topic creation is enabled, which is the default, the named topic is created if it does not already exist. The issue can only be triggered when the WebSocket service is enabled, either in the broker (webSocketServiceEnabled, which is disabled by default) or as a standalone WebSocket proxy. The impact is unauthorized injection of messages into topics the user is not permitted to produce to. The user can determine the content of the injected messages when they also control the messages on the subscribed topic. The issue does not allow reading, modifying or deleting existing messages in the target topic. Injected messages carry the dead letter message properties and a dead letter producer name, so they can be distinguished from messages produced normally; however, the values of these properties are not authenticated and should not be relied upon to establish the origin of a message. Whether an injected message has further consequences depends on how the applications consuming the target topic process it. Repeated injection also consumes storage and backlog capacity in the target namespace. This issue affects Apache Pulsar versions from 2.3.0 before 4.0.14 and from 4.1.0 before 4.2.5. - 4.0.x version users should upgrade to at least 4.0.14. - 4.1.x and 4.2.x version users should upgrade to at least 4.2.5. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions. The currently supported Apache Pulsar release lines are 4.0.x and 5.0.x. The supported versions schedule is available at https://pulsar.apache.org/contribute/release-policy/. Users who cannot upgrade immediately and do not require the WebSocket service should disable it. Where the WebSocket service is required, restricting network access to it and limiting the permissions granted to the role the WebSocket service uses to connect to the brokers to the namespaces WebSocket clients are intended to access reduces the exposure.

📍 영향받는 시스템

Apache Pulsar 2.3.0 ~ 4.0.13, 4.1.0 ~ 4.2.4

⚔️ 공격 벡터

WebSocket 소비자 엔드포인트의 쿼리 파라미터(deadLetterTopic)를 조작하여 권한 없는 토픽으로 메시지 유도

🛡️ 대응 방법

Apache Pulsar를 4.0.14 또는 4.2.5 이상의 패치된 버전으로 업그레이드하거나, 사용하지 않는 경우 WebSocket 서비스를 비활성화하십시오.

🔧 검증 코드

출력된 버전이 취약한 버전 범위(2.3.0 <= v < 4.0.14 또는 4.1.0 <= v < 4.2.5)에 해당하는지 확인합니다.

Shell / Script
pulsar-admin --version

💻 영향받는 소프트웨어

Windows iSCSI Target Service