diff --git a/nettacker/modules/scan/waf.yaml b/nettacker/modules/scan/waf.yaml index 0a5776202..cfac78a6d 100644 --- a/nettacker/modules/scan/waf.yaml +++ b/nettacker/modules/scan/waf.yaml @@ -73,11 +73,55 @@ payloads: # - date # - action param: - - #xss - # - UNION SELECT ALL FROM information_schema AND ' or SLEEP(5) or ' #sqli - # - /bin/cat /etc/passwd; ping 127.0.0.1; curl google.com #os - # - ]>&hack; #xxe - # - ../../../../etc/passwd #lfi + # ------------------------- + # XSS + # ------------------------- + - '' # xss + - '' # xss + - '' # xss + - "" # xss + - "" # xss (event-based) + - '\">' # xss (breakout) + + # ------------------------- + # SQL Injection – boolean based + # ------------------------- + - "' AND 1=1 '" # sqli (boolean) + - "' AND 1=1 OR 2=2 '" # sqli (boolean) + - "' AND 1=1 OR 9=10" # sqli (boolean) + - "AND 1=1" # sqli (boolean) + + # ------------------------- + # SQL Injection – union based + # ------------------------- + - "UNION SELECT ALL FROM information_schema AND SLEEP(5)" # sqli (union) + - "484029 AS xDKy WHERE 5427=5427 UNION ALL SELECT NULL,NULL" # sqli (union) + - "AS start WHERE 1601=1601 UNION ALL SELECT NULL,NULL" # sqli (union) + - "UNION SELECT * FROM users WHERE user='admin'" # sqli (union) + + # ------------------------- + # SQL Injection – order by / stacked + # ------------------------- + - "' AND 1=1 ORDER BY 1,2,3,4,5" # sqli (order by) + - "' AND 1=1;SELECT * FROM information_schema.tables" # sqli (stacked) + - "SELECT * FROM information_schema.tables" # sqli (info schema) + + # ------------------------- + # OS Command Injection + # ------------------------- + - "/bin/cat /etc/passwd" # os_command_injection + - "/bin/cat /etc/passwd; ping 127.0.0.1" # os_command_injection + + # ------------------------- + # LFI + # ------------------------- + - "../../../../etc/passwd" # lfi + + # ------------------------- + # XXE + # ------------------------- + - '' + - '' # xxe response: dependent_on_temp_event: valid_request_status condition_type: or @@ -87,6 +131,27 @@ payloads: regex: dependent_on_temp_event[0]['status_code'][0] reverse: true iterative_response_match: + Anubis (Techaro): + response: + condition_type: or + conditions: + content: + regex: /\.within\.website\/x\/cmd\/anubis\/|