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 » IBM MQ Security » MQ Explorer and RACF password validation

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 MQ Explorer and RACF password validation « View previous topic :: View next topic » 
Author Message
rojaan
PostPosted: Mon Aug 01, 2011 4:47 am    Post subject: MQ Explorer and RACF password validation Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 8

I have setup MQ under z/OS and implemented RACF on the MQ subsystem. I have a problem with MQ Explorer. I have removed the MCA user ID from the SVRCONN channel that we specify on the Queue Manager definition and have granted the users of MQ the relevant access to the MQ commands. When I invoke MQ Explorer and specify a valid userid on the queue manager connection (Connection Details>Properties>Userid) but DO NOT specify a password MQ Explorer does not validate the password but still allows the user to inherit the access granted to the userid specified in the connection details.

Any ideas why the password is not being validated when the users signs on?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 01, 2011 5:23 am    Post subject: Re: MQ Explorer and RACF password validation Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rojaan wrote:
Any ideas why the password is not being validated when the users signs on?


WMQ authorises users but doesn't authenticate them.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rojaan
PostPosted: Mon Aug 01, 2011 5:31 am    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 8

Thank you for the reply. I'm very surprised at this, surely this is a huge security exposure as any MQ Explorer user can enter someone else's RACF id in the connection details and gain access to resources they wouldn't normally have access to.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 01, 2011 5:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need to consider how many people you actually want using MQ Explorer to connect to your mainframe.

And you need to set up SSL and configure MCAUSER values on all of your svrconns... and all the rest of your channels too. Right now someone can create a qmgr on their desktop, connect it to an existing channel on your mainframe, and do whatever they want.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 01, 2011 5:42 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

What happens if you specify in the Explorer a userid that doesn't exist in RACF?

Why did you set MCAUSER to blank on SYSTEM.ADMIN.SVRCONN?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 01, 2011 5:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rojaan wrote:
any MQ Explorer user can enter someone else's RACF id in the connection details and gain access to resources they wouldn't normally have access to.


Only if your WMQ estate isn't properly secured. This isn't a z/OS or RACF issue, this concept holds true on all platforms. You'll notice when you removed the MCAUser from the channel there wasn't a matching MCAPassword field; this is because the MCAUser isn't authenticated any more than a logged on user is.

WMQ Security is more than just passwords.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 01, 2011 5:47 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

Vitor wrote:
.

WMQ Security is more than just passwords.


Passwords are about authentication. WMQ security isn't about passwords at all.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 01, 2011 5:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
Vitor wrote:
.

WMQ Security is more than just passwords.


Passwords are about authentication. WMQ security isn't about passwords at all.


Erm, yes, well, ok.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rojaan
PostPosted: Mon Aug 01, 2011 5:57 am    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 8

If I remove the RACF user from MQ Explorer the user that WMQ attempts to authenticate is not a valid user and as I have protected all resources in WMQ I am unable to do anything.

If you remove the MCAUSER from the SVRCONN channel definition MQ Explorer attempts to use the userid specified in MQ Explorer.

Not quite sure what you mean by WMQ is not about passwords, I am trying to protect MQ resources under z/OS using the RACF interface and for sure RACF is very user verification driven.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 01, 2011 6:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rojaan wrote:
I am trying to protect MQ resources under z/OS using the RACF interface and for sure RACF is very user verification driven.


Exactly - RACF is all about verifying users. WMQ (as it does on all platforms) relies on that verification. It doesn't perform it's own but assumes RACF has verified the id is who the id purports to be. On that assumption, it authorises the user to perform various tasks against various resources.

Now on z/OS I conceed it does this by doing a RACROUTE against RACF profies but it's simply using the RACF database as a convienient point to hold the information; it's not verifying the user, just obtaining the access available to that user.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rojaan
PostPosted: Mon Aug 01, 2011 6:15 am    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 8

Okay thank you. Would using SSL help me to secure MQ explorer to the level I require?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 01, 2011 6:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rojaan wrote:
Would using SSL help me to secure MQ explorer to the level I require?


Yes it would. This is why my most worthy associate mentioned it earlier in this post. It's all part of a well-secured WMQ estate.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 01, 2011 6:18 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

rojaan wrote:
If I remove the RACF user from MQ Explorer the user that WMQ attempts to authenticate is not a valid user and as I have protected all resources in WMQ I am unable to do anything.

In future posts here, please use WMQ and RACF terminology. Did you receive an error message when you tried to do anything? If so, post the complete error message - from the explorer and chin address space. Include the userid in your posts.

rojaan wrote:
If you remove the MCAUSER from the SVRCONN channel definition MQ Explorer attempts to use the userid specified in MQ Explorer.

MCAUSER should be set to 'NOBODY' or some other non-authorized name, so no operations will take on the channel (chin) identity.

rojaan wrote:
Not quite sure what you mean by WMQ is not about passwords, I am trying to protect MQ resources under z/OS using the RACF interface and for sure RACF is very user verification driven.

WMQ merely passes along the userid of the signed-on user to the security component, RACF in this case, to determine if the user is authorized to issue the command.

In the case of a client app, like the explorer, the client app or environment (shell) needs to pass username/password to RACF.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
rojaan
PostPosted: Mon Aug 01, 2011 6:19 am    Post subject: Reply with quote

Newbie

Joined: 01 Aug 2011
Posts: 8

Okay, I'll look into this then. One small thing... any ideas why MQ Explorer has the option to enter the password when you enter a userid in the connection details?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 01, 2011 6:20 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

rojaan wrote:
Okay thank you. Would using SSL help me to secure MQ explorer to the level I require?

Yes and no.

SSL will secure the connection, but not the authorization of the Explorer to do WMQ commands.

SSL is not about usernames/passwords.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » IBM MQ Security » MQ Explorer and RACF password validation
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.