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!

CGI files in /usr/local/cpanel/cgi-sys are binary files?

Discussion in 'Security' started by m0rgulvale, Feb 18, 2010.

  1. m0rgulvale

    m0rgulvale Member

    Joined:
    Sep 18, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    is it normal for files ending in .cgi in /usr/local/cpanel/cgi-sys to be LSB executables? I would think this would be text/script files based on the CGI extension

    Code:
    
    [/usr/local/cpanel/cgi-sys]# file *.cgi
    addalink.cgi:           perl script text executable
    Count.cgi:              ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped
    countedit.cgi:          perl script text executable
    defaultwebpage.cgi:     ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    domainredirect.cgi:     ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    entropybanner.cgi:      ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    entropysearch.cgi:      perl script text executable
    formmail.cgi:           ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    FormMail.cgi:           ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    FormMail-clone.cgi:     ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    guestbook.cgi:          ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    helpdesk.cgi:           ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    mchat.cgi:              ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    movingpage.cgi:         ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    randhtml.cgi:           ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    realhelpdesk.cgi:       perl script text executable
    realsignup.cgi:         Bourne shell script text executable
    redirect.cgi:           perl script text executable
    signup.cgi:             ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    sredirect.cgi:          perl script text executable
    suspendedpage.cgi:      ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    swhmredirect.cgi:       perl script text executable
    templatepreview.cgi:    ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
    universal-redirect.cgi: perl script text executable
    whmredirect.cgi:        perl script text executable
    wredirect.cgi:          perl script text executable
    
    

    is it safe to chmod this entire directory 600 if these files are never used?
     
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