Bug 849224 - The thin server on sam installations will listen on all ip addresses, should listen on localhost only.
Summary: The thin server on sam installations will listen on all ip addresses, should ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 843625
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-17 18:12 UTC by Eric Sammons
Modified: 2014-01-27 14:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The thin web server for System Engine listened to all IP addresses, which opened System Engine to vulnerabilities. This fix configures the thin web server to listen only to localhost.
Clone Of: 843625
Environment:
Last Closed: 2012-12-04 19:53:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Eric Sammons 2012-08-17 18:12:03 UTC
+++ This bug was initially created as a clone of Bug #843625 +++

Description of problem:
With SAM all functionality resides on a single server, with this "thin" should not listen on 0.0.0.0:5001.

Steps to Reproduce:
1. Install katello-headpin-all
2. katello-configure --deployment=sam
3. ps -ef|grep thin
  
Actual results:
# ps -ef|grep thin
katello   2013     1  4 15:20 ?        00:00:11 thin server (0.0.0.0:5000)                                                                                                                                                                                                                                                                                                                          
katello   2017     1  4 15:20 ?        00:00:11 thin server (0.0.0.0:5001) 

Expected results:
# ps -ef|grep thin
katello   xxxx     1  4 15:20 ?        00:00:11 thin server (127.0.0.1:5000)                                                                                                                                                                                                                                                                                                                          
katello   xxxx     1  4 15:20 ?        00:00:11 thin server (127.0.0.1:5001)

Comment 1 Lukas Zapletal 2012-08-20 15:21:32 UTC
Correcting component to katello-configure. Taking.

Comment 2 Lukas Zapletal 2012-08-21 09:54:27 UTC
https://github.com/Katello/katello/pull/492

Comment 4 Lukas Zapletal 2012-09-10 07:40:45 UTC
Fixed upstream (see comment 2). QA ACK?

Comment 6 Og Maciel 2012-09-14 21:13:03 UTC
# ps -ef|grep thin
root      9750 18414  0 16:47 pts/3    00:00:00 grep thin
katello  18107     1  1 16:22 ?        00:00:23 thin server (127.0.0.1:5000)                                                                                                                                                                                                                                                                                                                          
katello  18111     1  1 16:22 ?        00:00:21 thin server (127.0.0.1:5001)

Comment 7 Og Maciel 2012-09-14 21:13:23 UTC
Verified using:

* candlepin-0.7.8-1.el6cf.noarch
* candlepin-selinux-0.7.8-1.el6cf.noarch
* candlepin-tomcat6-0.7.8-1.el6cf.noarch
* katello-1.1.12-7.el6cf.noarch
* katello-all-1.1.12-7.el6cf.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.1.8-1.el6cf.noarch
* katello-cli-1.1.8-4.el6cf.noarch
* katello-cli-common-1.1.8-4.el6cf.noarch
* katello-common-1.1.12-7.el6cf.noarch
* katello-configure-1.1.9-3.el6cf.noarch
* katello-glue-candlepin-1.1.12-7.el6cf.noarch
* katello-glue-pulp-1.1.12-7.el6cf.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-qpid-client-key-pair-1.0-1.noarch
* katello-selinux-1.1.1-1.el6cf.noarch
* pulp-1.1.12-1.el6cf.noarch
* pulp-common-1.1.12-1.el6cf.noarch
* pulp-selinux-server-1.1.12-1.el6cf.noarch

Comment 9 errata-xmlrpc 2012-12-04 19:53:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


Note You need to log in before you can comment on or make changes to this bug.