Changeset 143


Ignore:
Timestamp:
08/04/09 21:52:29 (4 years ago)
Author:
deity
Message:

Added test for DEBUG HTTP verb

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/CHANGES.txt

    r142 r143  
    112009-08-04 plugin/nikto_core 
    22        - Patch to actually report the URI when it works out a password 
     3        - Added test for DEBUG HTTP verb 
    342009-08-03 plugin/nikto.pl 
    45        - Put in a quick catch for port ranges (e.g. 80-90) if people use the 
  • trunk/plugins/nikto_core.plugin

    r142 r143  
    461461       -dbcheck            check database and other key files for syntax errors (cannot be abbreviated) 
    462462       -evasion+           ids evasion technique 
    463        -Format+         save file (-o) format 
    464        -host+           target host 
    465        -Help            Extended help information 
     463       -Format+            save file (-o) format 
     464       -host+              target host 
     465       -Help               Extended help information 
    466466       -id+                host authentication to use, format is userid:password 
    467467       -mutate+            Guess additional file names 
    468        -mutate-options+         Provide extra information for mutations 
    469        -output+            write output to this file 
    470        -nossl                   disables using SSL 
    471        -no404        disables 404 checks 
    472        -port+           port to use (default 80) 
    473        -Display+           turn on/off display outputs 
    474        -ssl             force ssl mode on port 
     468       -mutate-options+    Provide extra information for mutations 
     469       -output+            Write output to this file 
     470       -nossl              Disables using SSL 
     471       -no404              Disables 404 checks 
     472       -port+              Port to use (default 80) 
     473       -Display+           Turn on/off display outputs 
     474       -ssl                Force ssl mode on port 
    475475       -Single             Single request mode 
    476        -timeout+           timeout (default 2 seconds) 
    477        -Tuning+            scan tuning 
    478        -update          update databases and plugins from cirt.net (cannot be abbreviated) 
    479        -Version            print plugin and database versions 
    480        -vhost+             virtual host (for Host header) 
     476       -timeout+           Timeout (default 2 seconds) 
     477       -Tuning+            Scan tuning 
     478       -update             Update databases and plugins from cirt.net (cannot be abbreviated) 
     479       -Version            Print plugin and database versions 
     480       -vhost+             Virtual host (for Host header) 
    481481   + requires a value 
    482482   "; 
     
    484484 $NIKTO{options}=" 
    485485   Options: 
    486        -config+            use this config file 
    487        -Cgidirs+           scan these CGI dirs: 'none', 'all', or values like \"/cgi/ /cgi-a/\" 
    488        -Display+           turn on/off display outputs:\n"; 
     486       -config+            Use this config file 
     487       -Cgidirs+           Scan these CGI dirs: 'none', 'all', or values like \"/cgi/ /cgi-a/\" 
     488       -Display+           Turn on/off display outputs:\n"; 
    489489   foreach my $k (sort keys %{$NIKTO{display}})  
    490490      { $NIKTO{options} .= "                               $k     $NIKTO{display}{$k}\n"; } 
    491491 
    492  $NIKTO{options}.="       -dbcheck           check database and other key files for syntax errors (cannot be abbreviated) 
    493        -evasion+           ids evasion technique:\n"; 
     492 $NIKTO{options}.="       -dbcheck           Check database and other key files for syntax errors (cannot be abbreviated) 
     493       -evasion+          IDS evasion technique:\n"; 
    494494   foreach my $k (sort keys %{$NIKTO{anti_ids}})  
    495495      { $NIKTO{options} .= "                               $k     $NIKTO{anti_ids}{$k}\n"; } 
    496496 
    497  $NIKTO{options}.="       -findonly          find http(s) ports only, don't perform a full scan 
    498        -Format+         save file (-o) format: 
     497 $NIKTO{options}.="       -findonly          Find http(s) ports only, don't perform a full scan 
     498       -Format+           Save file (-o) format: 
    499499                                htm   HTML Format 
    500500                                csv   Comma-separated-value 
    501501                                txt   Plain text (default if not specified) 
    502                                    xml   XML Format 
    503        -host+           target host 
    504        -Help            Extended help information 
    505        -id+                host authentication to use, format is userid:password 
    506        -mutate+            Guess additional file names:\n"; 
     502                                xml   XML Format 
     503       -host+             Target host 
     504       -Help              Extended help information 
     505       -id+               Host authentication to use, format is userid:password 
     506       -mutate+           Guess additional file names:\n"; 
    507507   foreach my $k (sort keys %{$NIKTO{mutate_opts}})  
    508508      { $NIKTO{options} .= "                               $k     $NIKTO{mutate_opts}{$k}\n"; } 
    509509 
    510510 $NIKTO{options}.="       -mutate-options    Provide information for mutates 
    511        -nolookup           skip name lookup 
    512        -nossl                   disables using SSL 
    513        -no404        disables nikto attempting to guess a 404 page 
    514        -output+            write output to this file 
    515        -port+           port to use (default 80) 
    516        -Pause+             pause between tests (seconds)\n"; 
    517  
    518  $NIKTO{options}.="       -root+             prepend root value to all requests, format is /directory 
    519        -ssl             force ssl mode on port 
    520        -Single             Single request mode 
    521        -timeout+           timeout (default 2 seconds) 
    522        -Tuning+            scan tuning:\n"; 
     511       -nolookup          Skip name lookup 
     512       -nossl             Disables using SSL 
     513       -no404             Disables nikto attempting to guess a 404 page 
     514       -output+           Write output to this file 
     515       -port+             Port to use (default 80) 
     516       -Pause+            Pause between tests (seconds)\n"; 
     517 
     518 $NIKTO{options}.="       -root+             Prepend root value to all requests, format is /directory 
     519       -ssl               Force ssl mode on port 
     520       -Single            Single request mode 
     521       -timeout+          Timeout (default 2 seconds) 
     522       -Tuning+           Scan tuning:\n"; 
    523523   foreach my $k (sort keys %{$NIKTO{tuning}})  
    524524      { $NIKTO{options} .= "                               $k     $NIKTO{tuning}{$k}\n"; } 
    525525 
    526  $NIKTO{options}.="       -useproxy          use the proxy defined in config.txt 
    527        -update          update databases and plugins from cirt.net (cannot be abbreviated) 
    528        -Version            print plugin and database versions 
    529        -vhost+             virtual host (for Host header) 
     526 $NIKTO{options}.="       -useproxy          Use the proxy defined in config.txt 
     527       -update            Update databases and plugins from cirt.net (cannot be abbreviated) 
     528       -Version           Print plugin and database versions 
     529       -vhost+            Virtual host (for Host header) 
    530530   + requires a value 
    531531   "; 
  • trunk/plugins/nikto_httpoptions.plugin

    r134 r143  
    7777 
    7878   # Check for other weirdness 
     79   # IIS Debug 
     80 
     81   ($RES, $CONTENT) = fetch("/","DEBUG",); 
     82   if ($RES == 200)  
     83   { 
     84      add_vulnerability($mark,"DEBUG HTTP verb may show server debugging information",999972,0,"DEBUG"); 
     85   } 
    7986   # IIS PROPFIND HEADER 
    8087   my %headers=( 
     
    9097         $ipfound =~ s/^.*<a:href>//g; 
    9198         $ipfound =~ s/<\/a:href>.*$//g; 
    92          add_vulnerability($mark,"PROPFIND may show the server's internal IP address: $ipfound",999973,13431); 
     99         add_vulnerability($mark,"PROPFIND HTTP verb may show the server's internal IP address: $ipfound",999973,13431); 
    93100      } 
    94101   }  
     
    109116            if ($CONTENT =~ "Nikto") 
    110117            { 
    111                add_vulnerability($mark,"HTTP $method method is active, suggesting the host is vulnerable to XST",999974,877); 
     118               add_vulnerability($mark,"HTTP $method method is active, suggesting the host is vulnerable to XST",999971,877); 
    112119               # now we know its vulnerable stop testing 
    113120               last; 
Note: See TracChangeset for help on using the changeset viewer.