[
https://issues.apache.org/jira/browse/AMQ-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994133#comment-13994133
]
Surf commented on AMQ-5160:
---------------------------
Hey [~dhirajsb] Thanks a lot. It is working on WS and MQTT both.
One another weird behaviour( Can't find the reason and might not be related to
this JIRA!)
Steps to recreate :
1. Download files that i uploaded
2. Connect to broker with two_user
3. Take another client and connect to broker with one_admin and subscribe to #
4. Publish in two_user
You will see message leaked to admin. Now if you connect to one_admin first
then it wont happen !!
> Wildcard subscriptions bypass Authentication / Authorization
> ------------------------------------------------------------
>
> Key: AMQ-5160
> URL: https://issues.apache.org/jira/browse/AMQ-5160
> Project: ActiveMQ
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 5.9.1
> Reporter: Surf
> Priority: Critical
> Labels: authentication, authorization, mqtt, security
> Fix For: 5.10.0
>
> Attachments: activemq.xml, groups.properties, login.config,
> patch.txt, users.properties
>
>
> I am using MQTT on AMQ 5.9.1
> After latest MQTT hardening from [~dhirajsb] , there is an issue of MQTT
> retained messages.
> Simple case:
> Set Authentication / Authorization for two different TOPICS.
> Send retained message to one topic.
> Try to subscribe "#" with other second user.
> It will show retained messages published by TOPIC 1.
> here i have attached test configurations.
--
This message was sent by Atlassian JIRA
(v6.2#6252)