Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default SSH exploit

    Anyone know how to go about upgrading SSH on CPanel servers (specifically Redhat 7.3) to patch the new SSH exploit? I don't want to risk doing something that could break the server. I would appreciate it if someone could give step-by-step instructions on how to patch this exploit.

    Thanks

    cPanel.net Support Ticket Number:

  2. #2
    NiN
    NiN is offline
    Member
    Join Date
    Apr 2003
    Location
    Braga, Portugal
    Posts
    29

    Default

    You can just run
    #up2date -u
    in your red hat box

    To update it manually you can visit the information on this issue in https://rhn.redhat.com/errata/RHSA-2003-279.html just download and update the RPM packages
    ~ DM

  3. #3
    Member
    Join Date
    Jul 2003
    Location
    USA Brooklyn NYC
    Posts
    38

    Default OpenSSH 3.7p1

    I used a how-TO here......

    http://forums.rackshack.net/showthre...hlight=OpenSSH

    David K.

    cPanel.net Support Ticket Number:
    •-=-•••••••••••••••••••••••••-=-•
    -- David K. Tucker- Owner/Founder
    -- EGGHEๅDZ™ ค How Do U LIKE Your Hosting? Inquire NOW: sales@eggzone.net | 1-888-545-5678
    -- Quality, Reliability, Honesty and Professionalism that CAN'T be beat!
    -- Become an EGGHEๅD Today! AIM: GETEGGHEADZ | MSN: egg.headz @ msn.com
    •-=-•••••••••••••••••••••••••-=-•

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    I tried downloading the rpms but it did not seem to install them. I tried running up2date but I am not registered. Does it cost anything to become a member and run up2date? We have several servers that will need to be updated, will this cause any problems?

    cPanel.net Support Ticket Number:

  5. #5
    NiN
    NiN is offline
    Member
    Join Date
    Apr 2003
    Location
    Braga, Portugal
    Posts
    29

    Default

    Here you go a set-by-step for your rh7.3:

    ssh to your box, as root:

    mkdir openssh
    cd openssh
    wget ftp://updates.redhat.com/7.3/en/os/i386/openssh-3.1p1-10.i386.rpm
    wget ftp://updates.redhat.com/7.3/en/os/i386/openssh-clients-3.1p1-10.i386.rpm
    wget ftp://updates.redhat.com/7.3/en/os/i386/openssh-server-3.1p1-10.i386.rpm
    rpm -Fvh *.rpm

    Do that
    ~ DM

  6. #6
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    I did that, but it didn't seem to do anything. The SSH version is still old

    sshd version OpenSSH_3.1p1

    cPanel.net Support Ticket Number:

  7. #7
    NiN
    NiN is offline
    Member
    Join Date
    Apr 2003
    Location
    Braga, Portugal
    Posts
    29

    Unhappy

    Don't say ซ it didn't work ป because no one can guess what is going on in you system ...

    Try showing some output, errors, something!
    ~ DM

  8. #8
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    root@mutter [~/openssh]# rpm -Fvh *.rpm
    root@mutter [~/openssh]#

    Sorry, I know I'm probably being somewhat of a pain, just if I mess up the SSH install, I won't have SSH access to go back and fix it. I'm trying to be as careful as possible.

    cPanel.net Support Ticket Number:

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    55

    Default

    Hello,

    OpenSSH was updated in last nights /upcp (apparently)... can anyone from CPanel confirm that the patch for openssh has been applied ?

    This is a large exploit, and something that I think should be addressed in WHM news... please do so asap! Thanks guys!

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    Originally posted by sparek-3
    I did that, but it didn't seem to do anything. The SSH version is still old

    sshd version OpenSSH_3.1p1

    cPanel.net Support Ticket Number:
    Don't forget that Red Hat's RPMs are patched. Just because you see that 3.1p1 has an exploit from that codebase, doesn't mean Red Hat's RPM of 3.1p1 is susceptible. They don't always upgrade to newer source to fix an exploit, but rather patch the current sourc, so the version stays the same.

    cPanel.net Support Ticket Number:

  11. #11
    Member
    Join Date
    Aug 2003
    Posts
    39

    Default

    Cpanel will update automatically, it did for me last night.

    cPanel.net Support Ticket Number:

  12. #12
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    I think your right, CPanel did update SSH last night, the date on the sshd file was dated September 16th. At any rate, I upgraded all of our servers to the latest OpenSSH. I'll paste what I did below. Again thanks, to all that helped.

    Code:
    mkdir ssh
    cd ssh
    wget ftp://ftp.openbsd.org/pub/OpenBSD/Op...3.7.1p1.tar.gz
    tar -zxf openssh-3.7.1p1.tar.gz
    cd openssh-3.7.1p1
    
    /usr/sbin/useradd -d /var/empty -c "sshd privsep" -s /bin/false sshd
    chown root.root /var/empty
    
    ./configure --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh
    
    make
    make install
    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

  13. #13
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    When running upcp it says to me:

    openssh is up to date (Fri Aug 8 05:16:53 2003)
    openssh-server is up to date (Fri Aug 8 05:16:53 2003)
    openssh-clients is up to date (Fri Aug 8 05:16:53 2003)

    Is that okay?

    cPanel.net Support Ticket Number:

  14. #14
    Member
    Join Date
    Oct 2002
    Posts
    751

    Default

    Originally posted by NNNils
    When running upcp it says to me:

    openssh is up to date (Fri Aug 8 05:16:53 2003)
    openssh-server is up to date (Fri Aug 8 05:16:53 2003)
    openssh-clients is up to date (Fri Aug 8 05:16:53 2003)

    Is that okay?
    No, it should be Sep 16

    Here's mine :

    openssh is up to date (Tue Sep 16 13:23:07 2003)
    openssh-server is up to date (Tue Sep 16 13:23:07 2003)
    openssh-clients is up to date (Tue Sep 16 13:23:07 2003)

    cPanel.net Support Ticket Number:

  15. #15
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    For some reason it won't update on 1 servers, other servers are okay... Hmmm.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. How to connect in SSH after create key in Manage SSH Keys
    By konrath in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-03-2009, 10:57 PM
  2. Check Server in SSH (the service status in whm, but in ssh)
    By drumhtd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-30-2005, 04:16 PM
  3. New WHM (SSH) exploit
    By WeMasterz5 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-21-2005, 04:27 AM
  4. Custom ssh port for CPanel SSH client
    By yaax in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 10-24-2004, 12:22 PM
  5. open SSH exploit
    By Craig in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-29-2002, 04:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube