Activity Stream
48,167 MEMBERS
62701 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1.     
    #11
    Member
    I beg to differ SalmanAbbas007

    If someone uploads a shell to your website. clicks on phpinfo finds your kernel version the searchs for vulns , fines a permission vuln and gains admin access .. Then what ? all because you didnt block phpinfo.

  2.   Sponsored Links

  3.     
    #12
    Member
    Oh ok i get it but u should keep ur kernel updated if u are really concerned about security

  4.     
    #13
    Member
    Website's:
    fr3akz.com chedelics.com idroid.us fr3akz.org vpn-services.org
    ho..ho..ho..nice TUT

  5.     
    #14
    Member
    Thanks Buddy

  6.     
    #15
    Member
    Why would you disable those functions while some legit script might use some of them? If you are running that on a default cPanel setup, everyone can bypass the main php.ini because you forgot the most important step.

    The truth is, it doesn't make you more secure. People can still execute exploits via CGI(although you disabled system, exec, shell_exec, passthru and loads of other PHP functions.
    KnownSRV.com - Quality comes at a price, and we provide it at affordable prices.
    PayPal, Skrill(MoneyBookers), Payza(AlertPay), 2CheckOut and LibertyReserve accepted!

  7.     
    #16
    Member
    The user should disable CGI via cpanel anyway. If you dont like the tut dont comment. Simple as that.

  8.     
    #17
    Member
    Quote Originally Posted by Domenic View Post
    The user should disable CGI via cpanel anyway. If you dont like the tut dont comment. Simple as that.
    CGI can't be disabled from cPanel. Why are you writting "security" tutorials if you can't answer to my questions? I just wanted to know what's the point in disabling PHP functions and causing issues to clients when the attacker can bypass it in multiple ways you didn't mention - since you are a security expert you should know that, right?
    KnownSRV.com - Quality comes at a price, and we provide it at affordable prices.
    PayPal, Skrill(MoneyBookers), Payza(AlertPay), 2CheckOut and LibertyReserve accepted!

  9.     
    #18
    Member
    Krun!x When DID I say I was a fucking security expert ? When ? , CGI Privileges can be limited by modifying the account via cpanel. All im trying to do is help people. Please stay out of this thread

  10.     
    #19
    Member
    Hello Domenic,

    Thank you for very fine tutorial, and you are absolutely right. disabling useless php functions which your script not used is a great idea to safe from unwanted shells. no matter who upload that on server.

    For those who argue about php disabling function can read This and This

    EDIT: i found 3 time session.save_path

    1) ; As of PHP 4.0.1, you can define the path as:
    ;
    ; session.save_path = "N;/path"

    2); The file storage module creates files using mode 600 by default.
    ; You can change that by using
    ;
    ; session.save_path = "N;MODE;/path"


    3) ; where MODE is the octal representation of the mode. Note that this
    ; does not overwrite the process's umask.
    session.save_path = "/var/lib/php/session"


    can i need to change the last one ? and remove the "/var/lib/php/session" to "/var/lib/php" as you said ?

    thanks advanced


    EDIT2:

    When i replaced disable_functions with your mentioned above. after restarting apache my board will load without the forum skin. i use IP.Board 3.1.4 .

  11.     
    #20
    Member
    All this tutorial does is give webmasters a false sense of security. There are far better ways of protecting your system.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [VIDEO TUT]How to install Mod_Security and Harden PHP
    By Dom in forum Technical and Security Tutorials
    Replies: 14
    Last Post: 9th Jun 2011, 11:00 AM
  2. something special
    By extremetrauma in forum Webmaster Discussion
    Replies: 1
    Last Post: 3rd Mar 2011, 10:54 AM
  3. Replies: 4
    Last Post: 18th Dec 2010, 09:03 AM
  4. Very Special Thanks to ProtoWorker
    By SaBteCh in forum General Discussion
    Replies: 11
    Last Post: 5th May 2010, 02:49 PM

Tags for this Thread

BE SOCIAL