Juniper Networks
Solutions
Products & Services
Company
Partners
Support
Education

Signature Detail

Security Intelligence Center
Signatures
Print

Short Name

HTTP:SQL:INJ:DECLARE-EXEC

Severity

High

Recommended

Yes

Recommended Action

Drop

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-9.4+, srx-9.2+, srx-branch-9.4+, vsrx-12.1+

HTTP: SQL 'declare...exec' Command Injection in URL


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.

Extended Description

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.

References

  • URL: http://isc.sans.org/diary.html?storyid=3823
  • URL: http://isc.sans.edu/diary/SQL+Injection+Attack+happening+ATM/12127

Site Map
RSS Feeds
Careers
Accessibility
Feedback
Privacy Policy
Legal Notices
Copyright © 1999-2010 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out