1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. m0rgulvale

    m0rgulvale New Member

    Joined:
    Sep 18, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    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?
     

Share This Page