[ops-messaging]Configuring rabbitmq default password with clear test is insecure

Bug #1381343 reported by Ma Wen Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Ma Wen Cheng

Bug Description

after use openstack-ops-messaging cookbook to deploy rabbitmq server:
cat /etc/rabbitmq/rabbitmq.config
[
  {kernel, [

  ]},
  {rabbit, [
    {ssl_listeners, [5671]},
    {ssl_options, [{cacertfile,"/opt/CA/cacert.pem"},
                    {certfile,"/opt/CA/certs/cert.pem"},
                    {keyfile,"/opt/CA/private/key.pem"},
                    {verify,verify_none},
                    {fail_if_no_peer_cert,false}]},
    {tcp_listen_options, [binary, {packet,raw},
                                  {reuseaddr,true},
                                  {backlog,128},
                                  {nodelay,true},
                                  {exit_on_close,false},
                                  {keepalive,false}]},
    {default_user, <<"rabbit">>},
    {default_pass, <<"password">>}
  ]}
].

The clear password should be removed for security purpose.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-ops-messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/128570

Changed in openstack-chef:
assignee: nobody → Ma Wen Cheng (mars914)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-ops-messaging (master)

Reviewed: https://review.openstack.org/128570
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-ops-messaging/commit/?id=0b087d93f34f57c6d992b6ab3fd9d8bef41bd2b2
Submitter: Jenkins
Branch: master

commit 0b087d93f34f57c6d992b6ab3fd9d8bef41bd2b2
Author: wenchma <email address hidden>
Date: Wed Oct 15 14:54:48 2014 +0800

    No need to push our rabbit user/pass to rabbit cookbook

    Because the rabbit user/pass is stored in internal user database,
    no need to push them to rabbit cookbook and expose them in config file.
    And configuring rabbitmq default password with clear test is insecure,
    so remove it.

    Change-Id: Iab95e2dc8cd28b4a45574cf8883f1626dc332db0
    Closes-Bug: #1381343

Changed in openstack-chef:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-ops-messaging ocata-eol

This issue was fixed in the openstack/cookbook-openstack-ops-messaging ocata-eol release.

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.