Test WAF rules for false positives
When testing a target's WAF rules, try sending a GET request with a URL parameter that contains a double quote character, such as TOGGLER+BAS+3%2F16%22-24+%C3%97+2-1%2F2%22. If the WAF blocks the request, check if it's a false positive by verifying if the double quote is an inch mark in a search query. If it is, the WAF rule should be updated to exclude the search path from inspection. Additionally, test the WAF's handling of SQL injection payloads, such as 1 OR 1=1, by sending a request with a query string parameter that contains this payload. The WAF should block the request, but not write an exclusion rule. You can use a tool like curl to send these requests and analyze the responses. For example: curl -X GET 'https://target.com/en/search/TOGGLER+BAS+3%2F16%22-24+%C3%97+2-1%2F2%22' -H 'Host: target.com' If the WAF blocks the request, check the response headers and body to determine if it's a false positive or a legitimate block.
Follow #llm, #sql-injection or #waf for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.