Short Name |
HTTP:SQL:INJ:DECLARE-EXEC |
---|---|
Severity |
Major |
Recommended |
No |
Category |
HTTP |
Keywords |
SQL 'declare...exec' Command Injection in URL |
Release Date |
2008/06/12 |
Update Number |
1213 |
Supported Platforms |
di-5.3+, idp-4.0+, isg-3.0+, j-series-9.5+, mx-11.4+, srx-12.1+, srx-branch-12.1+, vmx-17.4+, vsrx-12.1+, vsrx3bsd-18.2+ |
This signature detects SQL commands within a URL. Because SQL commands are not normally used in HTTP connections, this can indicate a SQL injection attack. However, it can be a false positive. To reduce false positives, it is strongly recommended that these signatures only be used to inspect traffic from the Internet to your organization's web servers that use SQL backend databases to generate content and not to inspect traffic going from your organization to the Internet. This particular technique involves encoding an attack inside a SQL variable using DECLARE and then running the attack using an EXEC on the variable. This attack is being used by botnets to evade SQL injection protection.
By manipulating SQL queries in the URL, a malicious user is able to guide the execution flow of a SQL server to cause unexpected operations in the SQL backend. This results in data leaks, or false authentications.