Community Forums
Connect with us on LinkedIn
Page 2 of 2 FirstFirst 1 2
Results 16 to 27 of 27
  1. #16
    Member
    Join Date
    Apr 2011
    Posts
    145
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Quote Originally Posted by aww View Post
    Suhosin's default is higher than php's so you have to set it lower.

    If you set it lower than php's default of 1000, then the php bug cannot happen (in theory) because the last variable will never make it to php.
    [...]
    You may need to set them higher if you are running some poorly designed software - but whatever you do, never set it to 1000 or higher, unless your PHP max_input_vars is also higher (always set it less)
    I believe this is slightly incorrect. The bug only occurs when the the number of variables is greater than max_input_vars. This article takes a look at the actual code: Critical PHP Remote Vuln Introduced in Hashtable DOS Patch | TheXploit | Security Blog

    My default installation of suhosin has these settings: (by default, I mean the EasyApache defaults, not the defaults as specified by suhosin).
    Code:
    suhosin.cookie.max_vars = 100
    suhosin.get.max_vars = 100
    suhosin.post.max_vars = 1000
    suhosin.request.max_vars = 1000
    Since PHP's max_input_vars is also default 1000, there is no way to trigger the vulnerability with your typical cPanel suhosin installation. If there are 1001 variables, suhosin will kill the request, preventing the vulnerability from being exploited. So to revise what you were saying: as long as suhosin.request.max_vars is less than or equal to php's max_input_vars, you will be safe.

    Note: according to suhosin documentation, suhosin.request.max_vars acts as an upper limit to the other input methods (cookie|get|post), so it is really the only one you have to worry about.

  2. #17
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    It's been days since 5.3.10 was released and still no word from cPanel! When you say you're working on it, what's to work on? Surely it's the same as 5.3.9 (which you've already released) but just includes 1 security fix. A day or two maybe, but several days???

  3. #18
    Member
    Join Date
    Apr 2006
    Posts
    38
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Am also patiently waiting for this. Understand that QA takes time, however it might have been good to have posted some official advice to this thread of the best course of action. "Downgrade to php5.3.8 with Suhosin" (if this is indeed the correct course of action). Otherwise people just see "security release not yet provided".

  4. #19
    Member deth4uall's Avatar
    Join Date
    Sep 2011
    Location
    Austin, Texas, United States
    Posts
    26
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    I would like to see a feature in EasyApache that allows you to upgrade to the latest, even if it is not officially released by cPanel (with tons of warnings stating that cPanel hasn't approved it quite yet or is the process of approving it).

    There have been several times I have had to wait at least a week for cPanel to get through their testing because they refused to let it be released, all the while I have to sit back on less secure versions.
    Last edited by deth4uall; 02-06-2012 at 09:03 AM.

  5. #20
    Member
    Join Date
    Feb 2012
    Posts
    14
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Quote Originally Posted by PlotHost View Post
    It will be available in few days. We just should wait a little.
    Um... a few days where any hacker can execute arbitrary code on our servers?! That seems rather blasé.

  6. #21
    Member
    Join Date
    Aug 2001
    Location
    Brisbane, Australia
    Posts
    210

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Quote Originally Posted by deth4uall View Post
    I would like to see a feature in EasyApache that allows you to upgrade to the latest, even if it is not officially released by cPanel (with tons of warnings stating that cPanel hasn't approved it quite yet or is the process of approving it).

    There have been several times I have had to wait at least a week for cPanel to get through their testing because they refused to let it be released, all the while I have to sit back on less secure versions.
    haven't done it in years, but in the past i've easily compiled/upgraded PHP via source tarball on WHM/Cpanel without issues without waiting for WHM/Cpanel PHP update. WHM/Cpanel PHP is just installed from source.

    i.e.

    /home/cpeasyapache/src/php-5.3.x
    Last edited by eva2000; 02-06-2012 at 10:47 AM.

  7. #22
    Member deth4uall's Avatar
    Join Date
    Sep 2011
    Location
    Austin, Texas, United States
    Posts
    26
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Quote Originally Posted by eva2000 View Post
    haven't done it in years, but in the past i've easily compiled/upgraded PHP via source tarball on WHM/Cpanel without issues without waiting for WHM/Cpanel PHP update. WHM/Cpanel PHP is just installed from source.

    i.e.

    /home/cpeasyapache/src/php-5.3.x
    Oh wow, okay go figure it would something as easy as that. Will it show up in the EasyApache profile?

  8. #23
    Member
    Join Date
    Apr 2011
    Posts
    145
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Quote Originally Posted by ThinIce View Post
    Am also patiently waiting for this. Understand that QA takes time, however it might have been good to have posted some official advice to this thread of the best course of action. "Downgrade to php5.3.8 with Suhosin" (if this is indeed the correct course of action). Otherwise people just see "security release not yet provided".
    There's no need to downgrade -- if you have Suhosin with the default settings, you are safe under PHP 5.3.9. You can check by checking the output of these two commands:
    Code:
    # php -i | grep 'suhosin.request.max_vars'
    suhosin.request.max_vars => 1000 => 1000
    
    # php -i | grep 'max_input_vars'
    max_input_vars => 1000 => 1000
    If suhosin.request.max_vars is less than or equal to max_input_vars, then you are protected.

    Also, using ModSecurity with a decent set of rules will go a long ways toward protecting you as well. Supposedly the ASL rules already limit the request variables to 1000. Other rules exist that detect things like hex encoded and null characters that are typical in hacking attempts.

  9. #24
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Re: PHP 5.3.10 Released [Case 57077, Case 57160]

    EasyApache 3.8.6 is now available; in this build PHP 5.3.10 replaces 5.3.9. The change log is available here: http://docs.cpanel.net/twiki/bin/vie...syApache#3.8.6

  10. #25
    Member
    Join Date
    Jan 2012
    Posts
    6
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5.3.10 Released [Case 57077, Case 57160]

    thank you very much

  11. #26
    Member java_dude's Avatar
    Join Date
    Apr 2004
    Location
    The Good Ol' U.S. of A.
    Posts
    28

    Default Re: PHP 5.3.10 Released [Case 57077, Case 57160]

    Thank you! I updated early this morning.

  12. #27
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5.3.10 Released [Case 57077, Case 57160]

    This is now implemented in all update tiers so I am going to archive this thread now.

Page 2 of 2 FirstFirst 1 2
Similar Threads & Tags
Similar threads

  1. phpMyAdmin 3.4.7 is released [Case 53974, Case 53975]
    By Ivan A in forum Archived Feature Requests
    Replies: 4
    Last Post: 04-30-2012, 04:34 PM
  2. Replies: 5
    Last Post: 07-29-2011, 09:00 AM
  3. Apache HTTP Server 2.2.19 Released [Case 50042, Case 50053]
    By sparek-3 in forum Archived Feature Requests
    Replies: 8
    Last Post: 05-26-2011, 02:20 PM
  4. Replies: 8
    Last Post: 03-20-2011, 07:37 PM
  5. [Case 45931, Case 45932] PHP 5.3.5 and 5.2.17 Released
    By Ivan A in forum Archived Feature Requests
    Replies: 20
    Last Post: 03-07-2011, 01:58 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube