Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Securing PERL/CGI

Discussion in 'General Discussion' started by ksingh, Sep 16, 2003.

  1. ksingh

    ksingh Active Member

    Joined:
    Mar 21, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    How can I disable call to certain functions like we do in php.ini for PERL/CGI? This is to prevent someone from running a script which replicates Telnet.

    In a thread at webhostingtalk.com I saw someone suggest 'perl -T'. How about that?

    As far I know enabling/disabling suexec will not prevent this thing.

    Please comment.

    Regards

    K Singh

    cPanel.net Support Ticket Number:
     
  2. ksingh

    ksingh Active Member

    Joined:
    Mar 21, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    156
    One way to work around it is to change permissions on all the binary files in /bin,/usr/bin directories. Then the only thing to be clarified is to include which users in a group (who may execute those files) in order for CPanel to function properly.

    Any suggestions?

    K Singh

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice