Information
Data mining is the analysis of large quantities of data to discover patterns and is used in intelligence gathering. Failure to prevent attacks launched against organizational information from unauthorized data mining may result in the compromise of information.
Injection attacks allow an attacker to inject code into a program or query or inject malware onto a computer to execute remote commands that can read or modify a database or change data on a website. Web applications frequently access databases to store, retrieve, and update information. An attacker can construct inputs that the database will execute. This is most commonly referred to as a code injection attack. This type of attack includes XPath and LDAP injections.
Compliance requires the ALG to have the capability to prevent code injections. Examples include a Web Application Firewalls (WAFs) or database application gateways.
Satisfies: SRG-NET-000318-ALG-000014, SRG-NET-000319-ALG-000015
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
From the BIG-IP GUI:
1. Security.
2. Application Security.
3. Security Policies.
4. Policies List.
5. Click the name of the policy.
6. Set "Enforcement Mode" to "Blocking".
7. Select "Attack Signatures".
8. Click the filter at the top left of the signatures window.
9. Select "XPath Injection" in the "Attack Type" field and click "Apply".
10. Select all signatures in the filtered list and click "Enforce".
11. Click "Enforce" again.
12. Click the filter at the top left of the signatures window.
13. Select "LDAP Injection" in the "Attack Type" field and click "Apply".
14. Select all signatures in the filtered list and click "Enforce".
15. Click "Enforce" again.
16. Click "Apply Policy".