FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
faical
Staff
Staff
Article Id 335179
Description

The article describes how to enable FortiWeb to block SQL injections (using JSON in the HTTP body).

Scope FortiWeb.
Solution

The signature profile does not detect SQL injections in a JSON body. For FortiWeb to scan and block JSON requests, the JSON Protection policy needs to be added to the Web Protection Profile. Configure a JSON Protection Profile with the Signature Detection option enabled (see the screenshot below) and assign it to the Web Protection Profile. No JSON rule is needed unless further customization of API access is desired.

 

enable_JSON_protection.jpeg

 

Attack logs:

 

Json_Alog.png

 

Note: To detect XML injection in an XML body, enable Signature Detection under the XML Protection settings. This configuration is similar to the existing guidance for detecting SQL injection in a JSON body, which also requires enabling Signature Detection under the JSON Protection settings.