Hi @Nikhil !
I think you could approach this issue from 2 sides:
1. Whitelist known IP addresses (for example your HQ's or branches');
2. Tune WAF so that it accepts frequent JQL expressions, especially those used in public filters.
I'm not sure what WAF is being used, but we used an AWS WAF that would flag a request as SQL injection just for having " and " or " or " in the string. There is a lot of syntax in common between JQL and SQL, so whitelisting the known IP addresses or specific pages that accept JQL is going to be your best bet.
To be fair, the AWS WAF rules didn't allow for much tuning (that I'm aware of), but your WAF may.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
False-positives are an essential part of every WAF, so you're to spend some time fine-tuning it. WAFs are not to be considered as some kind of safety-switch :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, it does disable WAF SQL injection protection on those pages. In our app, we've just taken extra care to make sure those pages aren't vulnerable to SQL injection. The WAF should be a first-line of defense, not the only defense.
The point of the WAF SQL injection filter is to block requests that look like they contain SQL when they shouldn't. Since JQL is so similar to SQL in syntax, any request that is expected to contain JQL will need to bypass the WAF.
Not quite this extreme, but it would be like putting a SQL-injection WAF in front of phpmyadmin, then complaining that I can't submit any queries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem here is your WAF settings, and you're asking people who know Atlassian stuff, not WAF (and you've not even said what WAF).
You need to configure the WAF to allow this through, there's nothing that can be done on the application side, as it's not doing anything wrong.
It certainly is possible, if you're using the right sort of WAF. The response from your vendor (try to blame someone else) suggests that it doesn't support doing it properly, so you're probably stuck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.