Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th November 2004, 09:54 PM
saBrEwolf's Avatar
saBrEwolf Offline
Registered User
 
Join Date: Jul 2004
Posts: 101
Rkhunter found vulnerabilities.. .. Eek! - Solved

Hello all,
I've been trying to make my system more secure and have found some vulnerabilities with rkhunter.

- OpenSSL 0.9.7a [ Vulnerable ]
- Procmail MTA 3.22 [ OK ]
- OpenSSH 3.6.1p2 [ Vulnerable ]

Security advisories
* Check: SSH
Searching for sshd_config...
Found /etc/ssh/sshd_config
Checking for allowed root login... Watch out Root login possible. Possible risk!
Hint: see logfile for more information
info:
Hint: See logfile for more information about this issue
Checking for allowed protocols... [ Warning (SSH v1 allowed) ]

I guess the simple question is; how do I make these applications less vulnerable?

Any help would be greatly appreciated
__________________
Craig

Just loosen up some of the screws so the centripetal force overwhelms them at the highest speed and voila! No more unwanted houseguest! :p

Registered Linux User: 417269
http://counter.li.org

Last edited by saBrEwolf; 16th November 2004 at 06:28 PM.
Reply With Quote
  #2  
Old 12th November 2004, 07:52 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Update your system.
Code:
yum update openssh openssl
will only update those.

Edit /etc/ssh/sshd_config and change PermitRootLogin to no and remove the # in front.
Reply With Quote
  #3  
Old 12th November 2004, 08:59 PM
saBrEwolf's Avatar
saBrEwolf Offline
Registered User
 
Join Date: Jul 2004
Posts: 101
Question

The versions I had we're already the most up-to-date for FC2 but I did edit /etc/ssh/sshd_config. Ran rkhunter again 'tho strangely, rkhunter still thinks that OpenSSH is still vulnerable.
__________________
Craig

Just loosen up some of the screws so the centripetal force overwhelms them at the highest speed and voila! No more unwanted houseguest! :p

Registered Linux User: 417269
http://counter.li.org

Last edited by saBrEwolf; 12th November 2004 at 09:02 PM.
Reply With Quote
  #4  
Old 12th November 2004, 10:07 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Maybe the log file it says it generated will give more details.

Do you login remotely with ssh? If not just leave that port closed in the firewall and you won't have to worry about it much.
Reply With Quote
  #5  
Old 13th November 2004, 01:21 PM
saBrEwolf's Avatar
saBrEwolf Offline
Registered User
 
Join Date: Jul 2004
Posts: 101
I've never logged in remotely. I've setup iptables (using system-config-securitylevel) to not provide any services. Will that have blocked the port also? I haven't set any rules apart from the default set.
__________________
Craig

Just loosen up some of the screws so the centripetal force overwhelms them at the highest speed and voila! No more unwanted houseguest! :p

Registered Linux User: 417269
http://counter.li.org
Reply With Quote
  #6  
Old 14th November 2004, 07:35 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
If you have not allowed ports to be open they should default to closed if the firewall is on.
Reply With Quote
  #7  
Old 14th November 2004, 07:58 PM
saBrEwolf's Avatar
saBrEwolf Offline
Registered User
 
Join Date: Jul 2004
Posts: 101
Ok, thanks very much Jman
__________________
Craig

Just loosen up some of the screws so the centripetal force overwhelms them at the highest speed and voila! No more unwanted houseguest! :p

Registered Linux User: 417269
http://counter.li.org
Reply With Quote
  #8  
Old 15th November 2004, 11:39 AM
lauterm Offline
Registered User
 
Join Date: Jun 2004
Location: Canyon, Texas
Age: 38
Posts: 30
saBrEwolf, automatic tools don't always recognize the way red hat backports security fixes. You may also want to do a 'service sshd stop' and then a 'chkconfig sshd off' as root to make sure ssh is off and won't restart when you reboot. This goes for any service you aren't using. 'netstat -tuapen | grep LISTEN' will show you services that are listening on ports. If you aren't using it, turn it off.
__________________
Matt
Reply With Quote
  #9  
Old 15th November 2004, 07:37 PM
saBrEwolf's Avatar
saBrEwolf Offline
Registered User
 
Join Date: Jul 2004
Posts: 101
Ok lauterm, I've looked at netstat,

tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
0 2360 1481/portmap

This appears good.. It did say that it failed to stop sshd, but I guess thats 'cuz it wasn't running as I looked through my running processes and there doesn't seem to be anything related to it

lauterm and Jman, you've been a great help, I appreciate it.

Thanks
__________________
Craig

Just loosen up some of the screws so the centripetal force overwhelms them at the highest speed and voila! No more unwanted houseguest! :p

Registered Linux User: 417269
http://counter.li.org
Reply With Quote
  #10  
Old 15th November 2004, 11:13 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
No problem, glad to ensure you have a secure system.
Reply With Quote
  #11  
Old 16th November 2004, 09:55 PM
lauterm Offline
Registered User
 
Join Date: Jun 2004
Location: Canyon, Texas
Age: 38
Posts: 30
Glad to help. If you aren't using NFS, stop portmap too.
__________________
Matt
Reply With Quote
  #12  
Old 17th November 2004, 01:19 AM
lukasbradley Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
Quote:
Originally Posted by Jman
Update your system.
Code:
yum update openssh openssl
will only update those.
When I attempt this, I receive:

Code:
[root@www bin]# yum update openssh openssl
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - x86_64 - Base
Server: Fedora Core 2 - x86_64 - Released Updates
Finding updated packages
Downloading needed headers
openssh is installed and the latest version.
openssl is installed and the latest version.
No actions to take
But:

Code:
[root@www bin]# openssl version
OpenSSL 0.9.7a Feb 19 2003
Forgive my ignorance, but are the servers I'm checking not up-to-date?

I feel comfortable with downloading and compiling the openssl source myself. However, I'm extremely uncomfortable with all the dependencies I might be screwing up in that attempt.

Any help is appreciated.

Lukas
Reply With Quote
  #13  
Old 17th November 2004, 01:27 PM
lauterm Offline
Registered User
 
Join Date: Jun 2004
Location: Canyon, Texas
Age: 38
Posts: 30
Red Hat will generally backport security and bugfixes into the current version to keep from breaking applications midway through a release. It does tend to make it hard at times to tell if you are up to date.

http://download.fedora.redhat.com/pu...s/Fedora/RPMS/ lists all the RPMs in Fedora Core 2 as shipped.

http://download.fedora.redhat.com/pu...ates/2/x86_64/ lists all the updates that have been released.

From those two sources I find that the following are the most current Red Hat versions:
Code:
openssh-3.6.1p2-34
openssl-0.9.7a-35
To check if these are what you have installed do:
Code:
rpm -qa openssh
rpm -qa openssl
If these match you can be reasonably assured that you are up to date. If you don't trust Red Hat you can download the source and install yourself. Some skepticism is healthy. However, if it persists for a long time you should probably find another distribution that you can trust. Historically Red Hat has done a good job of keeping things up to date.
__________________
Matt
Reply With Quote
Reply

Tags
eek, rkhunter, vulnerabilities

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The latest vulnerabilities. Dan Security and Privacy 8 1st April 2009 10:31 AM
DJBDNS vulnerabilities discovered Evil_Bert Linux Chat 0 28th February 2009 09:29 AM
rkhunter results Virus found! Snoopy1966 Security and Privacy 3 6th December 2006 04:42 PM
rkhunter found 1 bad MD5 checksum jim Security and Privacy 3 11th July 2005 08:44 PM


Current GMT-time: 05:13 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat