ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Archives - All » Any Risk to System Queues by Enabling List Queues Feature?

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 Any Risk to System Queues by Enabling List Queues Feature? « View previous topic :: View next topic » 
Author Message
kdjasper
PostPosted: Tue Sep 28, 2004 7:20 pm    Post subject: Any Risk to System Queues by Enabling List Queues Feature? Reply with quote

Guest




Hi Roger.

I have crossed the system security hurdle by using BlockIP2 security exit to ensure that only legitimate users are connecting via MQ Visual Browse and MQ Visual Edit. In doing so, I chose to leave the MCAUSER blank on the MQCLIENT.SVRCONN channel I created for using MQVB & MQVE, as I feel confident in how tight I have the rules in the BlockIP2 config file (doing so returns a 2063 security error for invalid userids rather then 2035 within MQVB & MQVE). Also, having it set up this way I get "connection refused" in the BlockIP2 log rather then "connection accepted" for invalid access attempts. I did, however, change MCAUSER=NoBody on both the SYSTEM.AUTO.SVRCONN and SYSTEM.DEF.SVRCONN channels for security reasons.

In order for userids not in the mqm group (Windows 2000 Server) to list the queues, I needed to do the following as I discovered at: http://www.mqseries.net/phpBB2/viewtopic.php?t=16579

Quote:
Also, here are the commands for you to partially list queues (with a mask).Code:
setmqaut -m TESTQM -t qmgr -g mqmon +dsp +allmqi
setmqaut -m TESTQM -t q -n SYSTEM.** -g mqmon +dsp +allmqi


My question is, what risk is there in letting authorized users have +allmqi to the system queues with MQVE? I am a new MQ Admin having no formal training, but I am not sure if I am comfortable with users having this ability (I know I can take it away, but then they will get 2035 error when trying to list the queues). Is +allmqi needed on ALL system queues (SYSTEM.**) for the pcf command to work and retrieve the queue list, or can a subset be used? I was able to trim it down to the following and have it work, but was hoping to trim it down to as few system queues as possible.

Code:
setmqaut -m TESTQM -t q -n SYSTEM.** -g mqmon +dsp +get +put +inq +set


Thanks for the help
Back to top
RogerLacroix
PostPosted: Tue Sep 28, 2004 9:30 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3258
Location: London, ON Canada

Hi,

For MQ Visual Edit / Browse only need access to 'SYSTEM.ADMIN.COMMAND.QUEUE' and 'SYSTEM.DEFAULT.MODEL.QUEUE' for the 'List of Queues' function. If so you really want to tighten down security then do the following 2 commands instead of your SYSTEM.** command:
Code:
setmqaut -m TESTQM -t q -n SYSTEM.ADMIN.COMMAND.QUEUE -g mqmon +dsp +get +put +inq
setmqaut -m TESTQM -t q -n SYSTEM.DEFAULT.MODEL.QUEUE -g mqmon +dsp +allmqi

I don't believe you need the '+set' parameter for the 'SYSTEM.ADMIN.COMMAND.QUEUE' queue.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
kdjasper
PostPosted: Wed Sep 29, 2004 8:04 am    Post subject: Thanks! Reply with quote

Guest




Roger, you are right on top of things!

I changed security per your suggestion, and it works beautifully. Much nicer from a user perspective to not see all those system queues listed. From an Admin perspective I am more relaxed without allowing puts to all the system queues.

Cheers!
Back to top
RogerLacroix
PostPosted: Thu Sep 30, 2004 12:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3258
Location: London, ON Canada

kdjasper,

I did a little more testing and got the 2 rules down to:
Code:
setmqaut -m TESTQM -t q -n SYSTEM.ADMIN.COMMAND.QUEUE -g mqmon +dsp +inq +put
setmqaut -m TESTQM -t q -n SYSTEM.DEFAULT.MODEL.QUEUE -g mqmon +dsp +inq +get


Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » Any Risk to System Queues by Enabling List Queues Feature?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.