txlong poll reads any queue

Bug #900579 reported by Robert Collins
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txlongpoll
Triaged
High
Unassigned

Bug Description

This seems undesirable to me, because any misconfiguration in permissions would trivially allow effectively direct access to suck down messages. (We've had misconfigurations sneak in).

I suggest that txlongpoll itself enforce the queue namespace we have (longpoll + random) giving us a defence in depth approach.

This is needed to go live with txlongpoll.

Tags: longpoll
tags: added: lonjgpoll
tags: added: longpoll
removed: lonjgpoll
Revision history for this message
Gavin Panella (allenap) wrote :

Can this be addressed with RabbitMQ's access control mechanisms [1]
which appear to allow quite fine-grained control over what users may
do?

[1] http://www.rabbitmq.com/access-control.html

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 900579] Re: txlong poll reads any queue

The point of this is to provide extra insurance over everything being
configured Just Right. The rabbit acls are regexps - and its not that
hard to get such a thing wrong.

Revision history for this message
Gavin Panella (allenap) wrote :

Note to whoever fixes this: because txlongpoll is intended not just
for Launchpad, the namespace/pattern ought to be configurable. Right
now everything is done via command line arguments, so adding another
is probably the expedient approach.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.