HomeHelpTrac

Changeset 13117 for trunk/plugins


Ignore:
Timestamp:
10/29/09 23:28:44 (3 years ago)
Author:
Alexander Trofimov
Message:

Ticket #1384

Location:
trunk/plugins/phpids/IDS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/phpids/IDS/Config/Config.ini

    r13109 r13117  
    3535    exceptions[]    = REQUEST.__utmz 
    3636    exceptions[]    = REQUEST.__utmc 
     37    exceptions[]    = REQUEST.__gads 
    3738    exceptions[]    = COOKIE.__utmz 
    38     exceptions[]    = COOKIE.__utmc 
    39     exceptions[]    = REQUEST.bx_map_key 
    40     exceptions[]    = POST.bx_map_key 
     39    exceptions[]    = COOKIE.__utmc     
     40    exceptions[]    = COOKIE.__gads 
    4141 
    4242    ; PHPIDS should run with PHP 5.1.2 but this is untested - set  
  • trunk/plugins/phpids/IDS/default_filter.xml

    r13007 r13117  
    6161    </filter> 
    6262    <filter> 
    63         <id>6</id> 
    64         <rule><![CDATA[(?:with\s*\(\s*.+\s*\)\s*\w+\s*\()|(?:(?:do|while|for)\s*\([^)]*\)\s*\{)|(?:\/[\w\s]*\[\W*\w)]]></rule> 
    65         <description>Detects self contained xss via with(), common loops and regex to string conversion</description> 
    66         <tags> 
    67             <tag>xss</tag> 
    68             <tag>csrf</tag> 
    69         </tags> 
    70         <impact>5</impact> 
    71     </filter> 
    72     <filter> 
    7363        <id>7</id> 
    7464        <rule><![CDATA[(?:\d\s*[|&]{2}\s*\w)|(?:[=(].+\?.+:)|(?:with\([^)]*\)\))|(?:\.\s*source\W)|(?:\?[^:=]+:[^;]+(;|$))]]></rule> 
     
    424414    </filter>    
    425415    <filter> 
    426         <id>39</id> 
    427         <rule><![CDATA[(?:\\x[01fe][\db-ce-f])|(?:%[01fe][\db-ce-f])|(?:&#[01fe][\db-ce-f])|(?:\\[01fe][\db-ce-f])|(?:&#x[01fe][\db-ce-f])]]></rule> 
    428         <description>Detects nullbytes and other dangerous characters</description> 
    429         <tags> 
    430             <tag>id</tag> 
    431             <tag>rfe</tag> 
    432             <tag>xss</tag> 
    433         </tags> 
    434         <impact>5</impact> 
    435     </filter>    
    436     <filter> 
    437416        <id>40</id> 
    438417        <rule><![CDATA[(?:"\s*(?:#|--|{))|(?:\/\*!\s?\d+)|(?:ch(?:a)?r\s*\(\s*\d)|(?:(?:(n?and|x?or|not)\s+|\|\||\&\&)\s*\w+\()]]></rule> 
     
    477456        </tags> 
    478457        <impact>6</impact> 
    479     </filter>  
    480     <filter> 
    481         <id>44</id> 
    482         <rule><![CDATA[(?:\d"\s+"\s+\d)|(?:^admin\s*"|(\/\*)+"+\s?(?:--|#|\/\*|{)?)|(?:"\s*or[\w\s-]+\s*[+<>=(),-]\s*[\d"])|(?:"\s*[^\w\s]?=\s*")|(?:"\W*[+=]+\W*")|(?:"\s*[!=|][\d\s!=+-]+.*["(].*$)|(?:"\s*[!=|][\d\s!=]+.*\d+$)|(?:"\s*like\W+[\w"(])|(?:\sis\s*0\W)|(?:where\s[\s\w\.,-]+\s=)|(?:"[<>~]+")]]></rule> 
    483         <description>Detects basic SQL authentication bypass attempts 1/3</description> 
    484         <tags> 
    485             <tag>sqli</tag> 
    486             <tag>id</tag> 
    487             <tag>lfi</tag> 
    488         </tags> 
    489         <impact>7</impact> 
    490     </filter>  
    491     <filter> 
    492         <id>45</id> 
    493         <rule><![CDATA[(?:union\s*(?:all|distinct|[(!@]*)?\s*[([]\s*select)|(?:\w+\s+like\s+\")|(?:like\s*"\%)|(?:"\s*like\W*["\d])|(?:"\s*(?:n?and|x?or|not |\|\||\&\&)\s+[\s\w]+=\s*\w+\s*having)|(?:"\s*\*\s*\w+\W+")|(?:"\s*[^?\w\s=.,;)(]+\s*[(@]*\s*\w+\W+\w)|(?:select\s*[\[\]()\s\w\.,-]+from)]]></rule> 
    494         <description>Detects basic SQL authentication bypass attempts 2/3</description> 
    495         <tags> 
    496             <tag>sqli</tag> 
    497             <tag>id</tag> 
    498             <tag>lfi</tag> 
    499         </tags> 
    500         <impact>7</impact> 
    501     </filter> 
    502      <filter> 
    503         <id>46</id> 
    504         <rule><![CDATA[(?:(?:n?and|x?or|not |\|\||\&\&)\s+[\s\w+]+(?:regexp\s*\(|sounds\s+like\s*"|[=\d]+x))|("\s*\d\s*(?:--|#))|(?:"[%&<>^=]+\d\s*(=|or))|(?:"\W+[\w+-]+\s*=\s*\d\W+")|(?:"\s*is\s*\d.+"?\w)|(?:"\|?[\w-]{3,}[^\w\s.,]+")|(?:"\s*is\s*[\d.]+\s*\W.*")]]></rule> 
    505         <description>Detects basic SQL authentication bypass attempts 3/3</description> 
    506         <tags> 
    507             <tag>sqli</tag> 
    508             <tag>id</tag> 
    509             <tag>lfi</tag> 
    510         </tags> 
    511         <impact>7</impact> 
    512     </filter>  
     458    </filter> 
    513459    <filter> 
    514460        <id>47</id> 
     
    690636        <impact>5</impact> 
    691637    </filter> 
     638    <!--         
    692639    <filter> 
    693640        <id>67</id> 
     
    703650        <impact>7</impact> 
    704651    </filter> 
     652    -->     
    705653    <filter> 
    706654        <id>68</id> 
Note: See TracChangeset for help on using the changeset viewer.