Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 10 of 19 FirstFirst ... 8 9 10 11 12 ... LastLast
Results 136 to 150 of 279
  1. #136
    Member
    Join Date
    Jun 2005
    Posts
    159

    Default

    Quote Originally Posted by ffeingol
    ok, I'm getting a fuzz nervous here. We ran the sec092306.pl and it did not say safe. we ran upcp --force and then re-ran sec092306.pl and it says safe. Now if I diff the mysqladmin and mysqladmin.orig they are the same.

    Is there a definitive way to insure that we're patched?

    Thnx

    grep =grep mysqladmin
    grep =grep mysqladmin.orig

    Are you getting matches on both?

  2. #137
    Member
    Join Date
    Oct 2005
    Location
    Halifax, Canada.
    Posts
    10

    Default

    Quote Originally Posted by summy
    This is the same thing we are getting on our servers. FreeBSD, WHM 10.8.0 cPanel 10.8.2-R119.

    Run upcp and then the check script and reports not safe.

    Run the patch and reports safe.

    Run the check script again and reports unsafe :S
    I had the same problem with two FreeBSD servers (5.4 and 5.5) running R119. Running /scripts/upcp --force three times DID NOT work at all, however I sent in an interesting report to cPanel.

    Basically half way through the update it shows "Safe" while patching the MySQL hooks then the steps repeat one more time and it goes back to "Not Safe". The only way I was able to get everything reporting as "Safe" was to have cPanel changed from Release to Current.

  3. #138
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by JamesSmith
    We're running WHM 10.8.0 cPanel 10.8.2-R119 and FreeBSD on all servers - After running /scripts/upcp --force on all our servers last night, the checker script is still reporting "not safe", same after running /scripts/upcp --force again just now.

    The manual patch says this:

    rweb16# perl sec092306.pl
    cPanel Security Patch (sec092306)
    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)
    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)
    Reversed (or previously applied) patch detected! Assume -R? [y] Patch Complete
    Checking for safety...

    safe

    Done

    But the checker script still reports not safe:

    rweb16# perl cpanel-test.pl


    not
    safe

    So are we safe or not ?

    Its the exacty same checker code, so thats a stumper.

    We've put up v2 of

    wget -O sec092306.pl http://layer2.cpanel.net/installer/sec092306.pl
    perl sec092306.pl

    which should address the patch reverse problem (freebsd only). Not sure if its actually causing any issues beyond the message yet.

  4. #139
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    Quote Originally Posted by cpanelnick
    Its the exacty same checker code, so thats a stumper.

    We've put up v2 of

    wget -O sec092306.pl http://layer2.cpanel.net/installer/sec092306.pl
    perl sec092306.pl

    which should address the patch reverse problem (freebsd only). Not sure if its actually causing any issues beyond the message yet.
    Is this just a checker or a patcher AND checker. I ran this on my Freebsd 5.4 box and it comes up safe but it seems to run for about a minute so is it actually doing the fixing at the same time ?
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  5. #140
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Posts
    207
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by randomuser
    grep =grep mysqladmin
    grep =grep mysqladmin.orig

    Are you getting matches on both?
    Yes. Matches 2 lines in both.

    Frank

  6. #141
    Member
    Join Date
    Jul 2003
    Posts
    38

    Default

    cpanelnick, can you please take a look at issue that I posted above: Major Exploit
    It is confirmed by other 2 users and I can reproduce it on all my servers having latest CURRENT's and EDGE's versions.

  7. #142
    Member
    Join Date
    Oct 2005
    Location
    Halifax, Canada.
    Posts
    10

    Default

    Quote Originally Posted by cinusik
    cpanelnick, can you please take a look at issue that I posted above: Major Exploit
    It is confirmed by other 2 users and I can reproduce it on all my servers having latest CURRENT's and EDGE's versions.
    I can also confirm this, however if you view the database using the root account with phpMyAdmin the database will show up.

    So the database is there and working from what I can tell (tested around 4 this morning), but it's not showing up for the end user phpMyAdmin which could lead to obvious confusion.

  8. #143
    Member
    Join Date
    Jan 2004
    Posts
    36

    Default

    Quote Originally Posted by cpanelnick
    Its the exacty same checker code, so thats a stumper.

    We've put up v2 of

    wget -O sec092306.pl http://layer2.cpanel.net/installer/sec092306.pl
    perl sec092306.pl

    which should address the patch reverse problem (freebsd only). Not sure if its actually causing any issues beyond the message yet.
    Nick: Thank you, my freebsd systems now reports "safe" after running this patch. and it didn't do the "reverse" thing this time as with the previous version.

    randomuser: a grep on mysqladmin now shows two lines & on the .orig file.

    So I guess that means everything is ok.

  9. #144
    Member
    Join Date
    Jun 2005
    Posts
    159

    Default

    Quote Originally Posted by ffeingol
    Yes. Matches 2 lines in both.

    Frank
    edit: From my experience, that means you're safe.

    that should say: From my experience, that means the patch was applied. After reading and re reading bluehosts's slashdot post, I don't think anyone's safe in terms of other bugs.

    I'm still not clear on the unpatched mysqladmin.orig being left around, however. It appears your mysqladmin.orig is patched, as well as your mysqladmin. 2 lines on both is what I am seeing after the update as well.
    Last edited by randomuser; 09-24-2006 at 01:35 PM.

  10. #145
    Member
    Join Date
    Jun 2005
    Posts
    159

    Default

    Quote Originally Posted by summy
    randomuser: a grep on mysqladmin now shows two lines & on the .orig file.

    So I guess that means everything is ok.
    I wonder if the .orig is getting patched from running /scripts/upcp multiple times, or if it's now being patched whereas it was not yesterday/early this morning. Either way, it sounds like you are good to go.

  11. #146
    Member
    Join Date
    Jan 2004
    Posts
    123

    Default

    Based on what nick says the exploit was reliant on the fact that mysqadmin is run through the setuid wrapper cpwrap, and that cpwrap has sanity checking in and wont execute anything other than the 'allowed' files.

    It still won't hurt to clean them up to avoid any potential confusion.

    Running upcp twice should cause mysqladmin.orig to be replaced with a patched copy anyway.

  12. #147
    Member
    Join Date
    Sep 2003
    Location
    UK, Luton
    Posts
    197

    Default

    Quote Originally Posted by cpanelnick
    Its the exacty same checker code, so thats a stumper.

    We've put up v2 of

    wget -O sec092306.pl http://layer2.cpanel.net/installer/sec092306.pl
    perl sec092306.pl

    which should address the patch reverse problem (freebsd only). Not sure if its actually causing any issues beyond the message yet.
    Excellent, it is now working.

    Hopefully that’s the end of this problem.
    Regards,
    James Smith
    UH Hosting Ltd

  13. #148
    Member
    Join Date
    Jun 2005
    Posts
    159

    Default

    Quote Originally Posted by philb
    Based on what nick says the exploit was reliant on the fact that mysqadmin is run through the setuid wrapper cpwrap, and that cpwrap has sanity checking in and wont execute anything other than the 'allowed' files.
    Makes perfect sense. I didn't put 2 and 2 together when nick mentioned the wrapper (cpwrap).

    Running upcp twice should cause mysqladmin.orig to be replaced with a patched copy anyway.
    Thanks for the info.

  14. #149
    Member
    Join Date
    Oct 2001
    Posts
    97

    Default

    I have four servers.

    Two are CentOS 3.8 and two are CentOS 4.4. They are all on Cpanel Stable.

    After running upcp at least twice on each one, the 3.8 servers are showing "safe" and the 4.4 are still showing "not safe". On the 4.4 machines, I see the patch running:

    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)
    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)

    but it still reports "not safe".

  15. #150
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Quote Originally Posted by SonServers
    I have four servers.

    Two are CentOS 3.8 and two are CentOS 4.4. They are all on Cpanel Stable.

    After running upcp at least twice on each one, the 3.8 servers are showing "safe" and the 4.4 are still showing "not safe". On the 4.4 machines, I see the patch running:

    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)
    Patching Mysql (1)
    Patching Mysql (2)
    Patching Mysql (3)
    Patching Mysql (4)

    but it still reports "not safe".

    Try running the patch manually:

    wget -O sec092306.pl http://layer2.cpanel.net/installer/sec092306.pl
    perl sec092306.pl

+ Reply to Thread
Page 10 of 19 FirstFirst ... 8 9 10 11 12 ... LastLast
Similar Threads & Tags
Similar threads

  1. Possible Exploit?
    By CoryHawk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-03-2007, 03:31 PM
  2. Major Major Problems
    By freemchr in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-11-2004, 03:21 AM
  3. SSH exploit
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 10-06-2003, 07:37 AM
  4. ProFTP Exploit
    By Angel78 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 09-28-2003, 08:54 PM
  5. proftpd exploit
    By JamesSmith in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-23-2003, 11:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube